From 909321928cc070c0f97e421032cce3d41cb632a9 Mon Sep 17 00:00:00 2001 From: sakridge Date: Fri, 20 Mar 2020 11:00:48 -0700 Subject: [PATCH] Shred fetch comment and debug message tweak (#8980) automerge --- core/src/shred_fetch_stage.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/src/shred_fetch_stage.rs b/core/src/shred_fetch_stage.rs index fb7e23d597..02d724a6ba 100644 --- a/core/src/shred_fetch_stage.rs +++ b/core/src/shred_fetch_stage.rs @@ -60,9 +60,8 @@ impl ShredFetchStage { { p.meta.discard = true; if let Some((slot, index)) = Self::get_slot_index(p, index_overrun) { - info!("slot {} index {}", slot, index); + // Seems reasonable to limit shreds to 2 epochs away if slot > last_root && slot < (last_slot + 2 * slots_per_epoch) { - info!("slot > {}", last_root); // Shred filter let slot_received = shreds_received .entry(slot)