Skip to content

Commit

Permalink
perf: spawn eth orchestrator as regular task (paradigmxyz#10113)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Aug 5, 2024
1 parent 6008deb commit 443f7d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/ethereum/node/src/launch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ where
let chainspec = ctx.chain_spec();
let (exit, rx) = oneshot::channel();
info!(target: "reth::cli", "Starting consensus engine");
ctx.task_executor().spawn_critical_blocking("consensus engine", async move {
ctx.task_executor().spawn_critical("consensus engine", async move {
if let Some(initial_target) = initial_target {
debug!(target: "reth::cli", %initial_target, "start backfill sync");
eth_service.orchestrator_mut().start_backfill_sync(initial_target);
Expand Down

0 comments on commit 443f7d5

Please sign in to comment.