Skip to main content

runtime_worker_threads

Function runtime_worker_threads 

Source
pub fn runtime_worker_threads() -> usize
Expand description

Worker thread count for the multi-thread Tokio runtime (I/O + signal tasks).

Same floor as auto concurrency on CPUs, independent of the RAM clamp used for the CPU budget (I/O workers stay available while blocking parse runs). Used by src/main.rs Builder::worker_threads.