Skip to main content

GRACEFUL_FLUSH_TIMEOUT

Constant GRACEFUL_FLUSH_TIMEOUT 

const GRACEFUL_FLUSH_TIMEOUT: Duration;
Available on crate feature tokio only.
Expand description

Upper bound on the teardown flush of a graceful DISCONNECT, so shutdown cannot hang on a peer that stopped reading.