Skip to content

Commit

Permalink
node: Increase thread pool size to 100
Browse files Browse the repository at this point in the history
I could still observe a small amount of contention
and waiting after this, but it's reduced a lot from before.
Part of  #937.
  • Loading branch information
leoyvens committed May 14, 2019
1 parent 954cf98 commit 691dd83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions node/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ fn main() {
let handler_runtime = runtime.clone();
*runtime.lock().unwrap() = Some(
runtime::Builder::new()
.core_threads(100)
.panic_handler(move |_| {
let runtime = handler_runtime.clone();
std::thread::spawn(move || {
Expand Down

0 comments on commit 691dd83

Please sign in to comment.