From 88a35039c9f278ceabca711b4e0a7ce767ea96ce Mon Sep 17 00:00:00 2001 From: Toshit Chawda Date: Sun, 29 Sep 2024 18:27:14 -0700 Subject: [PATCH] remove multithreadalt --- server/src/config.rs | 2 -- server/src/main.rs | 1 - 2 files changed, 3 deletions(-) diff --git a/server/src/config.rs b/server/src/config.rs index d9b4d3e..79f9520 100644 --- a/server/src/config.rs +++ b/server/src/config.rs @@ -67,8 +67,6 @@ pub enum RuntimeFlavor { /// Multi-threaded tokio runtime. #[default] MultiThread, - /// Multi-threaded tokio runtime with an alternate work in progress scheduler. - MultiThreadAlt, } pub type BindAddr = (SocketType, String); diff --git a/server/src/main.rs b/server/src/main.rs index 5fee908..9549338 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -216,7 +216,6 @@ fn main() -> anyhow::Result<()> { let mut builder: runtime::Builder = match CONFIG.server.runtime { RuntimeFlavor::SingleThread => runtime::Builder::new_current_thread(), RuntimeFlavor::MultiThread => runtime::Builder::new_multi_thread(), - RuntimeFlavor::MultiThreadAlt => runtime::Builder::new_multi_thread_alt(), }; builder.enable_all();