diff --git a/src/app.rs b/src/app.rs index e599499afe3c9..054e079e018a8 100644 --- a/src/app.rs +++ b/src/app.rs @@ -390,6 +390,7 @@ fn get_log_levels(default: &str) -> String { pub fn build_runtime(threads: Option, thread_name: &str) -> Result { let mut rt_builder = runtime::Builder::new_multi_thread(); + rt_builder.max_blocking_threads(20_000); rt_builder.enable_all().thread_name(thread_name); if let Some(threads) = threads {