mirror of
https://github.com/MercuryWorkshop/epoxy-tls.git
synced 2025-05-12 14:00:01 -04:00
remove multithreadalt
This commit is contained in:
parent
c76be107ac
commit
88a35039c9
2 changed files with 0 additions and 3 deletions
|
@ -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);
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue