multi: add debug logs to catch slow shutdown

This commit is contained in:
yyforyongyu authored and Olaoluwa Osuntokun committed 2023-10-06 16:34:47 -07:00
1 parent ba007d9373
commit 66b8700c0b
24 files changed
+59 -23

No files matched your search

+3
View File
@@ -240,6 +240,9 @@ func (m *MissionControl) RunStoreTicker() {
// StopStoreTicker stops the mission control store's ticker.
func (m *MissionControl) StopStoreTicker() {
log.Debug("Stopping mission control store ticker")
defer log.Debug("Mission control store ticker stopped")
m.store.stop()
}
+2 -1
View File
@@ -699,7 +699,8 @@ func (r *ChannelRouter) Stop() error {
return nil
}
log.Info("Channel Router shutting down")
log.Info("Channel Router shutting down...")
defer log.Debug("Channel Router shutdown complete")
// Our filtered chain view could've only been started if
// AssumeChannelValid isn't present.