diff --git a/src/clusterd/src/lib.rs b/src/clusterd/src/lib.rs index 9f4a60fe26b3d..c568143f1f39c 100644 --- a/src/clusterd/src/lib.rs +++ b/src/clusterd/src/lib.rs @@ -179,7 +179,6 @@ pub fn main() { let ncpus_useful = usize::max(1, std::cmp::min(num_cpus::get(), num_cpus::get_physical())); let runtime = tokio::runtime::Builder::new_multi_thread() .worker_threads(ncpus_useful) - .thread_stack_size(3 * 1024 * 1024) // 3 MiB // The default thread name exceeds the Linux limit on thread name // length, so pick something shorter. The maximum length is 16 including // a \0 terminator. This gives us four decimals, which should be enough diff --git a/src/environmentd/src/environmentd/main.rs b/src/environmentd/src/environmentd/main.rs index 5404afbba4255..8e16ddf89f904 100644 --- a/src/environmentd/src/environmentd/main.rs +++ b/src/environmentd/src/environmentd/main.rs @@ -709,7 +709,6 @@ fn run(mut args: Args) -> Result<(), anyhow::Error> { let runtime = Arc::new( tokio::runtime::Builder::new_multi_thread() .worker_threads(ncpus_useful) - .thread_stack_size(3 * 1024 * 1024) // 3 MiB // The default thread name exceeds the Linux limit on thread name // length, so pick something shorter. .thread_name_fn(|| {