use number of logical cores for tokio worker thread count
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
54eb634588
commit
33afd60026
1 changed files with 1 additions and 1 deletions
|
@ -515,7 +515,7 @@ fn init(args: clap::Args) -> Result<Server, Error> {
|
|||
.enable_io()
|
||||
.enable_time()
|
||||
.thread_name("conduwuit:worker")
|
||||
.worker_threads(num_cpus::get_physical())
|
||||
.worker_threads(num_cpus::get())
|
||||
.build()
|
||||
.unwrap(),
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue