improve worker_max_blocking_threads doc

This commit is contained in:
Luca Iachini 2024-10-04 18:36:15 +02:00
parent 1c4e265a70
commit b46dd88615
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ where
/// ///
/// One thread pool is set up **per worker**; not shared across workers. /// One thread pool is set up **per worker**; not shared across workers.
/// ///
/// By default set to 512 divided by the number of workers. /// By default set to 512 divided by [`std::thread::available_parallelism()`].
pub fn worker_max_blocking_threads(mut self, num: usize) -> Self { pub fn worker_max_blocking_threads(mut self, num: usize) -> Self {
self.builder = self.builder.worker_max_blocking_threads(num); self.builder = self.builder.worker_max_blocking_threads(num);
self self