Skip to main content

default_worker_count

Function default_worker_count 

Source
pub fn default_worker_count(config: &ServeConfig) -> usize
Expand description

Returns the default worker count for a runtime configuration.

§Parameters

§Returns

Returns the computed value produced by crate::binaries::default_worker_count.

§Examples

ⓘ
let _result = pharos_native::binaries::default_worker_count(todo!());
  • crate::binaries for adjacent helpers that share the same runtime surface.