Skip to main content

unusable_concurrency

Function unusable_concurrency 

Source
fn unusable_concurrency(slots: usize) -> bool
Expand description

Whether a concurrency knob names a number of slots that cannot serve.

Zero is the load-bearing half: it leaves every request waiting on a slot that never frees, which reads as a hang rather than as a refusal.