From 98a3645d0fafad84f2eaa6c86c0f3827d75ec56b Mon Sep 17 00:00:00 2001 From: Erik Grinaker Date: Fri, 26 Jun 2020 16:03:12 +0200 Subject: [PATCH] store: change PruningDefault to KeepEvery:100 (#6520) --- store/types/pruning.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/store/types/pruning.go b/store/types/pruning.go index 8aa7059a18..823da76c65 100644 --- a/store/types/pruning.go +++ b/store/types/pruning.go @@ -12,9 +12,9 @@ const ( var ( // PruneDefault defines a pruning strategy where the last 100 heights are kept - // in addition to every 500th and where to-be pruned heights are pruned at + // in addition to every 100th and where to-be pruned heights are pruned at // every 10th height. - PruneDefault = NewPruningOptions(100, 500, 10) + PruneDefault = NewPruningOptions(100, 100, 10) // PruneEverything defines a pruning strategy where all committed heights are // deleted, storing only the current height and where to-be pruned heights are