From 07b499f11bd162302f9012f5e7a3e201e52610d1 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Tue, 20 Jun 2023 01:59:10 +0200 Subject: [PATCH] perf: spawn engine as blocking (#3257) --- bin/reth/src/node/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/reth/src/node/mod.rs b/bin/reth/src/node/mod.rs index c6cf5cc94..247a370bf 100644 --- a/bin/reth/src/node/mod.rs +++ b/bin/reth/src/node/mod.rs @@ -392,7 +392,7 @@ impl Command { // Run consensus engine to completion let (tx, rx) = oneshot::channel(); info!(target: "reth::cli", "Starting consensus engine"); - ctx.task_executor.spawn_critical("consensus engine", async move { + ctx.task_executor.spawn_critical_blocking("consensus engine", async move { let res = beacon_consensus_engine.await; let _ = tx.send(res); });