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
@@ -87,7 +87,8 @@ func (m *Monitor) Stop() error {
|
||||
return fmt.Errorf("monitor already stopped")
|
||||
}
|
||||
|
||||
log.Info("Health monitor shutting down")
|
||||
log.Info("Health monitor shutting down...")
|
||||
defer log.Debug("Health monitor shutdown complete")
|
||||
|
||||
close(m.quit)
|
||||
m.wg.Wait()
|
||||
|
||||
Reference in new issue
Block a user