v0.7.10: events tab rework, quieter logs, known hosts, dropdown theme fixes
This commit is contained in:
1 parent
97cdbd3027
commit
91c7abc771
24 files changed
+740
-103
No files matched your search
@@ -69,7 +69,12 @@ def start_watchdog(host, port, use_ssl):
|
||||
failures = 0
|
||||
continue
|
||||
failures += 1
|
||||
logger.warning(f'Watchdog: self-check failed ({failures}/{failures_needed})')
|
||||
# A lone failed probe that recovers is just a blip; warn once
|
||||
# the pattern looks real (second consecutive failure).
|
||||
if failures == 1:
|
||||
logger.debug(f'Watchdog: self-check failed ({failures}/{failures_needed})')
|
||||
else:
|
||||
logger.warning(f'Watchdog: self-check failed ({failures}/{failures_needed})')
|
||||
if failures >= failures_needed:
|
||||
logger.critical(
|
||||
'Watchdog: dashboard unresponsive - exiting '
|
||||
|
||||
Reference in new issue
Block a user