multi: add AutoCompact option to bolt backend
With this commit we thread the new AutoCompact flags all the way through to the bolt backend.
This commit is contained in:
5 files changed
+85
-20
No files matched your search
@@ -1353,8 +1353,9 @@ func initializeDatabases(ctx context.Context,
|
||||
"minutes...")
|
||||
|
||||
if cfg.DB.Backend == lncfg.BoltBackend {
|
||||
ltndLog.Infof("Opening bbolt database, sync_freelist=%v",
|
||||
cfg.DB.Bolt.SyncFreelist)
|
||||
ltndLog.Infof("Opening bbolt database, sync_freelist=%v, "+
|
||||
"auto_compact=%v", cfg.DB.Bolt.SyncFreelist,
|
||||
cfg.DB.Bolt.AutoCompact)
|
||||
}
|
||||
|
||||
startOpenTime := time.Now()
|
||||
|
||||
Reference in new issue
Block a user