Skip to main content

START_SESSION_ADMISSION_CONCURRENCY

Constant START_SESSION_ADMISSION_CONCURRENCY 

Source
pub const START_SESSION_ADMISSION_CONCURRENCY: usize = 64;
Expand description

Concurrent session-server admission waits, held below the lane size so a slow server refuses with Busy instead of parking every handler.

The session server bounds its own worker pool by the same figure: a permit is released when the transport stops waiting, not when admit returns, so the server needs its own bound.