Skip to main content

MAX_TIMEOUT_MICROS

Constant MAX_TIMEOUT_MICROS 

Source
pub const MAX_TIMEOUT_MICROS: u64 = 5_000_000;
Expand description

Maximum allowed timeout: 5 seconds (5,000,000 microseconds).

Users cannot configure a timeout above this threshold to ensure pathological inputs are caught within reasonable time.