Skip to main content

runtime_count

Function runtime_count 

Source
pub fn runtime_count() -> usize
Expand description

How many per-core runtimes to start: TOKIO_WORKER_THREADS when set (the same knob as the shared runtime), otherwise one per available CPU.