Skip to content

Commit

Permalink
Temporary reduce FINALIZATION_DEPTH_IN_SEGMENTS 5->1
Browse files Browse the repository at this point in the history
  • Loading branch information
shamil-gadelshin committed Dec 17, 2024
1 parent 5c83899 commit 5ce735d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/sc-consensus-subspace/src/archiver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const ACKNOWLEDGEMENT_TIMEOUT: Duration = Duration::from_mins(2);
/// Ideally, we'd decouple pruning from finalization, but it may require invasive changes in
/// Substrate and is not worth it right now.
/// https://github.com/paritytech/substrate/discussions/14359
pub(crate) const FINALIZATION_DEPTH_IN_SEGMENTS: SegmentIndex = SegmentIndex::new(5);
pub(crate) const FINALIZATION_DEPTH_IN_SEGMENTS: SegmentIndex = SegmentIndex::new(1);

#[derive(Debug)]
struct SegmentHeadersStoreInner<AS> {
Expand Down

0 comments on commit 5ce735d

Please sign in to comment.