Debug log notify timeout
This commit is contained in:
parent
21ce2e32d7
commit
a1526c9334
@ -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)
|
loggers.rootLogger.Warnw("Unable to connect to NOTIFY_SOCKET to get watchdog timeout.", "error", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
loggers.rootLogger.Debugw("Got timeout", "timeout", timeout)
|
||||||
ticker := time.NewTicker(timeout / 2)
|
ticker := time.NewTicker(timeout / 2)
|
||||||
for {
|
for {
|
||||||
healthy := s.IsHealthy()
|
healthy := s.IsHealthy()
|
||||||
|
Loading…
Reference in New Issue
Block a user