mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
Update crates/engine/tree/src/tree/payload_processor/mod.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -199,8 +199,7 @@ where
|
||||
// Default to half of max concurrency, leaving room for on-demand tasks (Accountproof and
|
||||
// blinded nodes)
|
||||
let storage_worker_count = (max_proof_task_concurrency / 2)
|
||||
.max(1)
|
||||
.min(max_proof_task_concurrency.saturating_sub(1));
|
||||
.max(1);
|
||||
let proof_task = match ProofTaskManager::new(
|
||||
self.executor.handle().clone(),
|
||||
state_root_config.consistent_view.clone(),
|
||||
|
||||
Reference in New Issue
Block a user