Skip to main content

DEFAULT_CONNECT_TIMEOUT

Constant DEFAULT_CONNECT_TIMEOUT 

Source
pub const DEFAULT_CONNECT_TIMEOUT: Duration;
Expand description

Default TCP/TLS connect timeout. Separate from the request timeout so DNS / unreachable-host errors surface in seconds rather than being absorbed into the full 60s request budget.