Skip to content

Commit 2d4328c

Browse files
committed
Decrease MAX_VERIFIERS
In current structure, multithreading helps little. Because the verification step should be sequential.
1 parent a3edb80 commit 2d4328c

File tree

1 file changed

+1
-1
lines changed
  • core/src/verification/queue

1 file changed

+1
-1
lines changed

core/src/verification/queue/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const MIN_MEM_LIMIT: usize = 16384;
3737
const MIN_QUEUE_LIMIT: usize = 512;
3838

3939
// maximum possible number of verification threads.
40-
const MAX_VERIFIERS: usize = 8;
40+
const MAX_VERIFIERS: usize = 2;
4141

4242
/// Type alias for block queue convenience.
4343
pub type BlockQueue = VerificationQueue<kind::Blocks>;

0 commit comments

Comments
 (0)