lncfg+channeldb: add autocompact flags to BoltConfig

This commit is contained in:
Oliver Gugger committed 2020-11-13 10:19:49 +01:00
1 parent c7eea13f95
commit 6131a53eb4
3 files changed
+36 -9

No files matched your search

+3 -1
View File
@@ -26,7 +26,9 @@ type DB struct {
func DefaultDB() *DB {
return &DB{
Backend: BoltBackend,
Bolt: &kvdb.BoltConfig{},
Bolt: &kvdb.BoltConfig{
AutoCompactMinAge: kvdb.DefaultBoltAutoCompactMinAge,
},
}
}