Skip to main content

OUTBOUND_BYTE_LIMIT

Constant OUTBOUND_BYTE_LIMIT 

const OUTBOUND_BYTE_LIMIT: usize = _; // 262_144usize
Available on crate feature tokio only.
Expand description

Soft cap, in bytes, on the pending outbound buffer. New commands are not accepted while this many encoded bytes are still waiting to be written. Bounds memory when the peer stalls. Soft because one in-progress packet may push the buffer past the limit before intake pauses.