Skip to main content

DEFAULT_TIMEOUT

Constant DEFAULT_TIMEOUT 

Source
pub const DEFAULT_TIMEOUT: Duration;
Expand description

How long Server gives a connection to be accepted, from its arrival through admission, unless Server::with_timeout says otherwise. Matches a client’s connect timeout, so a client whose handshake probes back off under heavy loss is not shed first.