We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed573ff commit 67c3bffCopy full SHA for 67c3bff
core/src/replay_stage.rs
@@ -655,14 +655,14 @@ impl ReplayStage {
655
};
656
// Thread pool to (maybe) replay multiple threads in parallel
657
let replay_mode = if replay_slots_concurrently {
658
- ForkReplayMode::Serial
659
- } else {
660
let pool = rayon::ThreadPoolBuilder::new()
661
.num_threads(MAX_CONCURRENT_FORKS_TO_REPLAY)
662
.thread_name(|i| format!("solReplayFork{i:02}"))
663
.build()
664
.expect("new rayon threadpool");
665
ForkReplayMode::Parallel(pool)
+ } else {
+ ForkReplayMode::Serial
666
667
// Thread pool to replay multiple transactions within one block in parallel
668
let replay_tx_thread_pool = rayon::ThreadPoolBuilder::new()
0 commit comments