From f00e246ce77d92b1f718d9917040bdc2961868c7 Mon Sep 17 00:00:00 2001 From: vandomej Date: Thu, 11 Sep 2025 14:49:08 -0700 Subject: [PATCH] Configuring tokio for linux environment --- evolved-npcs/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/evolved-npcs/src/main.rs b/evolved-npcs/src/main.rs index e273180..33ca6f1 100644 --- a/evolved-npcs/src/main.rs +++ b/evolved-npcs/src/main.rs @@ -38,6 +38,7 @@ fn main() -> Result<()> { // Manually configure the Tokio runtime let runtime: Result<()> = tokio::runtime::Builder::new_multi_thread() + .enable_io() .worker_threads(num_cpus::get()) // .worker_threads(NUM_THREADS) .build()?