From: Matt Corallo Date: Mon, 2 Dec 2019 20:09:47 +0000 (-0500) Subject: Drop processing threads a bit X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=62770d56227d5458fd7502fedf065a80b6b16373;p=dnsseed-rust Drop processing threads a bit --- 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(|| {