mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-27 14:11:04 +02:00
multi: add debug logs to catch slow shutdown
This commit is contained in:
committed by
Olaoluwa Osuntokun
parent
ba007d9373
commit
66b8700c0b
@@ -104,7 +104,9 @@ func (c *ChannelNotifier) Start() error {
|
||||
func (c *ChannelNotifier) Stop() error {
|
||||
var err error
|
||||
c.stopped.Do(func() {
|
||||
log.Info("ChannelNotifier shutting down")
|
||||
log.Info("ChannelNotifier shutting down...")
|
||||
defer log.Debug("ChannelNotifier shutdown complete")
|
||||
|
||||
err = c.ntfnServer.Stop()
|
||||
})
|
||||
return err
|
||||
|
Reference in New Issue
Block a user