lncfg+channeldb: add autocompact flags to BoltConfig
This commit is contained in:
3 files changed
+36
-9
No files matched your search
+3
-1
@@ -26,7 +26,9 @@ type DB struct {
|
||||
func DefaultDB() *DB {
|
||||
return &DB{
|
||||
Backend: BoltBackend,
|
||||
Bolt: &kvdb.BoltConfig{},
|
||||
Bolt: &kvdb.BoltConfig{
|
||||
AutoCompactMinAge: kvdb.DefaultBoltAutoCompactMinAge,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user