Skip to main content

MAX_INFLIGHT

Constant MAX_INFLIGHT 

Source
pub const MAX_INFLIGHT: usize = 64;
Expand description

The most connections either tier holds open at once. Accepting pauses at the cap (further connections wait in the OS backlog), so a flood of held-open sockets cannot exhaust memory.