From c054ffb0eaccf0173d80b267d8bfe8c06794c89b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karol=20Wypch=C5=82o?= Date: Tue, 20 Sep 2022 15:18:34 +0200 Subject: [PATCH] Revert "Mute check failures unless server is down" --- setup-scripts/health-checker.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/setup-scripts/health-checker.py b/setup-scripts/health-checker.py index 947ae307..d633c807 100755 --- a/setup-scripts/health-checker.py +++ b/setup-scripts/health-checker.py @@ -232,8 +232,7 @@ async def check_health(): message += "{}/{} CRITICAL checks failed over the last {} hours! ".format( critical_checks_failed, critical_checks_total, CHECK_HOURS ) - # Disabling as it creates notification fatigue. - # force_notify = True + force_notify = True else: message += "All {} critical checks passed. ".format(critical_checks_total) @@ -241,8 +240,7 @@ async def check_health(): message += "{}/{} extended checks failed over the last {} hours! ".format( extended_checks_failed, extended_checks_total, CHECK_HOURS ) - # Disabling as it creates notification fatigue. - # force_notify = True + force_notify = True else: message += "All {} extended checks passed. ".format(extended_checks_total)