mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-30 07:35:07 +02:00
multi: add debug logs to catch slow shutdown
This commit is contained in:
committed by
Olaoluwa Osuntokun
parent
ba007d9373
commit
66b8700c0b
@@ -409,13 +409,12 @@ func (s *UtxoSweeper) Stop() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
log.Info("Sweeper shutting down")
|
||||
log.Info("Sweeper shutting down...")
|
||||
defer log.Debug("Sweeper shutdown complete")
|
||||
|
||||
close(s.quit)
|
||||
s.wg.Wait()
|
||||
|
||||
log.Debugf("Sweeper shut down")
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user