Skip to content

Commit 691dd83

Browse files
committed
node: Increase thread pool size to 100
I could still observe a small amount of contention and waiting after this, but it's reduced a lot from before. Part of #937.
1 parent 954cf98 commit 691dd83

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

node/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ fn main() {
7474
let handler_runtime = runtime.clone();
7575
*runtime.lock().unwrap() = Some(
7676
runtime::Builder::new()
77+
.core_threads(100)
7778
.panic_handler(move |_| {
7879
let runtime = handler_runtime.clone();
7980
std::thread::spawn(move || {

0 commit comments

Comments
 (0)