Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/clusterd/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion src/environmentd/src/environmentd/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(|| {
Expand Down