mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-23 16:21:06 +01:00
clarify worker_max_blocking_threads default
This commit is contained in:
parent
99bf774e94
commit
386258c285
@ -172,7 +172,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 / workers.
|
/// By default set to 512 divided by the number of workers.
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user