multi: add the flag prune-revocation to perform the optional migration

This commit is contained in:
yyforyongyu committed 2022-07-12 21:01:11 +08:00
1 parent afb2f72ce2
commit 87f58a274b
3 files changed
+9

No files matched your search

+2
View File
@@ -61,6 +61,8 @@ type DB struct {
Postgres *postgres.Config `group:"postgres" namespace:"postgres" description:"Postgres settings."`
NoGraphCache bool `long:"no-graph-cache" description:"Don't use the in-memory graph cache for path finding. Much slower but uses less RAM. Can only be used with a bolt database backend."`
PruneRevocation bool `long:"prune-revocation" description:"Run the optional migration that prunes the revocation logs to save disk space."`
}
// DefaultDB creates and returns a new default DB config.