Debug log notify timeout

This commit is contained in:
Torjus Håkestad 2021-11-06 01:43:32 +01:00
parent 21ce2e32d7
commit a1526c9334

View File

@ -204,6 +204,7 @@ func ActionServe(c *cli.Context) error {
loggers.rootLogger.Warnw("Unable to connect to NOTIFY_SOCKET to get watchdog timeout.", "error", err)
return
}
loggers.rootLogger.Debugw("Got timeout", "timeout", timeout)
ticker := time.NewTicker(timeout / 2)
for {
healthy := s.IsHealthy()