From 62770d56227d5458fd7502fedf065a80b6b16373 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Mon, 2 Dec 2019 15:09:47 -0500 Subject: [PATCH] Drop processing threads a bit --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index f9de3d4..ba326f7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -424,7 +424,7 @@ fn main() { unsafe { REQUEST_BLOCK = Some(Box::new(Mutex::new(Arc::new((0, genesis_block(Network::Bitcoin).bitcoin_hash(), genesis_block(Network::Bitcoin)))))) }; let trt = tokio::runtime::Builder::new() - .blocking_threads(2).core_threads(num_cpus::get().max(1) * 3) + .blocking_threads(2).core_threads(num_cpus::get().max(1) * 2) .build().unwrap(); let _ = trt.block_on_all(future::lazy(|| { -- 2.39.5