From 33afd60026eac9d7b72b33ebb1e617afa4ddd9f7 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Thu, 25 Apr 2024 15:19:47 -0700 Subject: [PATCH] use number of logical cores for tokio worker thread count Signed-off-by: Jason Volk --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 6773ce9a..be133055 100644 --- a/src/main.rs +++ b/src/main.rs @@ -515,7 +515,7 @@ fn init(args: clap::Args) -> Result { .enable_io() .enable_time() .thread_name("conduwuit:worker") - .worker_threads(num_cpus::get_physical()) + .worker_threads(num_cpus::get()) .build() .unwrap(),