Skip to main content

QUERY_TIMEOUT

Constant QUERY_TIMEOUT 

Source
pub const QUERY_TIMEOUT: Duration;
Expand description

How long a query may run before the caller gets an error instead.

GlueSQL cannot be interrupted, so a query past this keeps its blocking thread until it finishes on its own; the caller and the async runtime are released at the deadline, and the session’s tables go with the query.