From b9c8380830ac5ccec45da5db718a6d301bf785cd Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Thu, 16 Feb 2023 21:22:06 +0100 Subject: [PATCH] chore: spawn pipeline future to blocking pool (#1418) --- 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 fcdd34c4aa..229a3a1d22 100644 --- a/bin/reth/src/node/mod.rs +++ b/bin/reth/src/node/mod.rs @@ -175,7 +175,7 @@ impl Command { // Run pipeline let (rx, tx) = tokio::sync::oneshot::channel(); info!(target: "reth::cli", "Starting sync pipeline"); - ctx.task_executor.spawn_critical("pipeline task", async move { + ctx.task_executor.spawn_critical_blocking("pipeline task", async move { let res = pipeline.run(db.clone()).await; let _ = rx.send(res); });