[thin_check (rust)] Drop nr threads down to 4

We get very little benefit from threads atm.  Need to improve IO handling first.
This commit is contained in:
Joe Thornber 2020-07-30 10:17:36 +01:00
parent de172147d3
commit 7243f95380
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ impl NodeVisitor<ValueU64> for TopLevelVisitor {
w.engine.read_many(&mut blocks)?;
// FIXME: with a thread pool we need to return errors another way.
let nr_workers = 16;
let nr_workers = 4;
let pool = ThreadPool::new(nr_workers);
let mut n = 0;