remove multithreadalt

This commit is contained in:
Toshit Chawda 2024-09-29 18:27:14 -07:00
parent c76be107ac
commit 88a35039c9
No known key found for this signature in database
GPG key ID: 91480ED99E2B3D9D
2 changed files with 0 additions and 3 deletions

View file

@ -67,8 +67,6 @@ pub enum RuntimeFlavor {
/// Multi-threaded tokio runtime. /// Multi-threaded tokio runtime.
#[default] #[default]
MultiThread, MultiThread,
/// Multi-threaded tokio runtime with an alternate work in progress scheduler.
MultiThreadAlt,
} }
pub type BindAddr = (SocketType, String); pub type BindAddr = (SocketType, String);

View file

@ -216,7 +216,6 @@ fn main() -> anyhow::Result<()> {
let mut builder: runtime::Builder = match CONFIG.server.runtime { let mut builder: runtime::Builder = match CONFIG.server.runtime {
RuntimeFlavor::SingleThread => runtime::Builder::new_current_thread(), RuntimeFlavor::SingleThread => runtime::Builder::new_current_thread(),
RuntimeFlavor::MultiThread => runtime::Builder::new_multi_thread(), RuntimeFlavor::MultiThread => runtime::Builder::new_multi_thread(),
RuntimeFlavor::MultiThreadAlt => runtime::Builder::new_multi_thread_alt(),
}; };
builder.enable_all(); builder.enable_all();