[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:
1 parent
de172147d3
commit
7243f95380
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user