mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-01 10:11:11 +02:00
multi: add debug logs to catch slow shutdown
This commit is contained in:
committed by
Olaoluwa Osuntokun
parent
ba007d9373
commit
66b8700c0b
@@ -728,7 +728,9 @@ func (d *AuthenticatedGossiper) resendFutureMessages(height uint32) {
|
||||
// Stop signals any active goroutines for a graceful closure.
|
||||
func (d *AuthenticatedGossiper) Stop() error {
|
||||
d.stopped.Do(func() {
|
||||
log.Info("Authenticated gossiper shutting down")
|
||||
log.Info("Authenticated gossiper shutting down...")
|
||||
defer log.Debug("Authenticated gossiper shutdown complete")
|
||||
|
||||
d.stop()
|
||||
})
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user