Skip to main content

blocking_limit

Function blocking_limit 

Source
pub fn blocking_limit() -> usize
Expand description

How many threads the blocking pool may hold at once: the machine’s parallelism, at least four (a job waiting behind three slow ones still gets a thread), at most thirty-two. Zero on the web, where jobs run inline.