mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-30 07:35:07 +02:00
lncfg+channeldb: add autocompact flags to BoltConfig
This commit is contained in:
@@ -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