Skip to main content

MSG_QUEUE_BOUND

Constant MSG_QUEUE_BOUND 

const MSG_QUEUE_BOUND: usize = 16;
Available on crate feature tokio only.
Expand description

Received messages buffered for the application before the coordinator stops reading the socket. Decouples application delivery from protocol processing: acknowledgements and keep-alive keep flowing while the application drains. Inbound reads pause only when the buffer is full, which applies backpressure down to TCP.