Skip to main content

DEFAULT_CONNECT_TIMEOUT

Constant DEFAULT_CONNECT_TIMEOUT 

Source
pub const DEFAULT_CONNECT_TIMEOUT: Duration;
Expand description

Default deadline for the connect handshake (dial + hello/Welcome). Bounds the case where a peer accepts the socket but never replies — the engine has no handshake timeout of its own, so the wait would otherwise be unbounded.