-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pruneSnapshot: prune old, unused snapshots
cmd/ronin/dbcmd.go: pruneSnapshot: add command to prune all old snapshots, keeping just some latest snapshots cmd/utils/flags.go: add SnapshotKeepAfterPruningFlag to configure number of latest snapshots kept after pruning consortium/v2/snapshot.go: prune nSnapshotPrune starting from 5 days ago back to older
- Loading branch information
1 parent
9d6d2d7
commit 3cbca80
Showing
3 changed files
with
127 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters