multi: add debug logs to catch slow shutdown
This commit is contained in:
1 parent
ba007d9373
commit
66b8700c0b
24 files changed
+59
-23
No files matched your search
@@ -92,7 +92,9 @@ func (h *HtlcNotifier) Start() error {
|
||||
func (h *HtlcNotifier) Stop() error {
|
||||
var err error
|
||||
h.stopped.Do(func() {
|
||||
log.Info("HtlcNotifier shutting down")
|
||||
log.Info("HtlcNotifier shutting down...")
|
||||
defer log.Debug("HtlcNotifier shutdown complete")
|
||||
|
||||
if err = h.ntfnServer.Stop(); err != nil {
|
||||
log.Warnf("error stopping htlc notifier: %v", err)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user