Skip to content
Snippets Groups Projects
Commit 33afd600 authored by Jason Volk's avatar Jason Volk Committed by 🥺
Browse files

use number of logical cores for tokio worker thread count


Signed-off-by: default avatarJason Volk <jason@zemos.net>
parent 54eb6345
No related branches found
No related tags found
No related merge requests found
......@@ -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(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment