From add1abfeb2ce0f7cd4babcfa4762006e79df310e Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Sun, 25 Jun 2023 18:46:05 +0200 Subject: [PATCH] perf: lower pipeline run threshold to 1 epoch (#3375) --- crates/consensus/beacon/src/engine/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/consensus/beacon/src/engine/mod.rs b/crates/consensus/beacon/src/engine/mod.rs index 43f5b7f0bd..f206229c04 100644 --- a/crates/consensus/beacon/src/engine/mod.rs +++ b/crates/consensus/beacon/src/engine/mod.rs @@ -69,7 +69,7 @@ const MAX_INVALID_HEADERS: u32 = 512u32; /// The largest gap for which the tree will be used for sync. See docs for `pipeline_run_threshold` /// for more information. -pub const MIN_BLOCKS_FOR_PIPELINE_RUN: u64 = 2 * EPOCH_SLOTS; +pub const MIN_BLOCKS_FOR_PIPELINE_RUN: u64 = EPOCH_SLOTS; /// A _shareable_ beacon consensus frontend. Used to interact with the spawned beacon consensus /// engine.