lnd: log bbolt freelist sync config value on start up
This commit is contained in:
parent
e616903d4f
commit
19f68d2538
5
lnd.go
5
lnd.go
|
@ -255,6 +255,11 @@ func Main(cfg *Config, lisCfg ListenerCfg, shutdownChan <-chan struct{}) error {
|
|||
ctx, cancel := context.WithCancel(ctx)
|
||||
defer cancel()
|
||||
|
||||
if cfg.DB.Backend == lncfg.BoltBackend {
|
||||
ltndLog.Infof("Opening bbolt database, sync_freelist=%v",
|
||||
cfg.DB.Bolt.SyncFreelist)
|
||||
}
|
||||
|
||||
chanDbBackend, err := cfg.DB.GetBackend(ctx,
|
||||
cfg.localDatabaseDir(), cfg.networkName(),
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user