store: change PruningDefault to KeepEvery:100 (#6520)

This commit is contained in:
Erik Grinaker 2020-06-26 16:03:12 +02:00 committed by GitHub
parent 7c0fa69748
commit 98a3645d0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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