Function actix_tools::utils::n_workers[][src]

pub fn n_workers(block_factor: f32) -> usize

Computes the number of Sync workers based on the block factor. More io time (block time) implicates in a larger number of workers.