Skip to main content

guest_statement_timeout

Function guest_statement_timeout 

Source
pub fn guest_statement_timeout(
    ms: u64,
    budget: Duration,
) -> Result<Duration, DbError>
Expand description

A guest’s own statement_timeout in milliseconds, as StatementTimeout carries it. Zero, which Postgres reads as no timeout, and anything past the invocation’s whole budget are refused.