From c20b0bd992e835934e45df1ca8f0846381f5090a Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Fri, 10 Apr 2020 13:14:12 -0700 Subject: [PATCH] check_rabbitmq_queue: Adjust threshholds for some queues. --- scripts/lib/check_rabbitmq_queue.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/lib/check_rabbitmq_queue.py b/scripts/lib/check_rabbitmq_queue.py index 4791ca2811..6f77622c09 100644 --- a/scripts/lib/check_rabbitmq_queue.py +++ b/scripts/lib/check_rabbitmq_queue.py @@ -47,8 +47,9 @@ MAX_SECONDS_TO_CLEAR_FOR_BURSTS = defaultdict( ) # type: DefaultDict[str, int] MAX_SECONDS_TO_CLEAR_NORMAL = defaultdict( lambda: 30, - digest_emails=120, + digest_emails=1200, slow_queries=120, + missedmessage_mobile_notifications=120, ) # type: DefaultDict[str, int] CRITICAL_SECONDS_TO_CLEAR_FOR_BURSTS = defaultdict( lambda: 240, @@ -57,6 +58,7 @@ CRITICAL_SECONDS_TO_CLEAR_FOR_BURSTS = defaultdict( ) # type: DefaultDict[str, int] CRITICAL_SECONDS_TO_CLEAR_NORMAL = defaultdict( lambda: 60, + missedmessage_mobile_notifications=180, digest_emails=600, slow_queries=600, ) # type: DefaultDict[str, int]