Skip to main content

CHANNEL_RECONNECT_TIMEOUT

Static CHANNEL_RECONNECT_TIMEOUT 

Source
pub static CHANNEL_RECONNECT_TIMEOUT: Key<Duration>
Expand description

Maximum time Link::next() spends retrying a failed connect before giving up. Pairs with TCP keepalive: keepalive surfaces peer death as an I/O error, then the connect-retry loop quits after this bound and the outer NetTx loop terminates the link with TxStatus::Closed.