Skip to main content

start_session_channel_capacity

Function start_session_channel_capacity 

Source
fn start_session_channel_capacity() -> usize
Expand description

Capacity of the StartSession lane.

Sized from the handler pool, not from maximum_sessions: a queued StartSession is drained only as fast as a handler frees up, and each may park for session_admission_timeout. A lane sized by the session limit would queue minutes of work in front of the pool, so the peer long since gave up by the time it is handled.