From e2dcdc27585370226909d6142f24b6887f95fc5a Mon Sep 17 00:00:00 2001 From: Mateusz Mandera Date: Thu, 17 Sep 2020 15:21:44 +0200 Subject: [PATCH] queue: Increase allowed expected_time_to_clear_backlog for embed_links. It's okay for this queue to be a bit slow, and the default limits are kind of too low for it. --- scripts/lib/check_rabbitmq_queue.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/lib/check_rabbitmq_queue.py b/scripts/lib/check_rabbitmq_queue.py index 5898917406..da48aab0ad 100644 --- a/scripts/lib/check_rabbitmq_queue.py +++ b/scripts/lib/check_rabbitmq_queue.py @@ -42,11 +42,13 @@ MAX_SECONDS_TO_CLEAR: DefaultDict[str, int] = defaultdict( lambda: 30, digest_emails=1200, missedmessage_mobile_notifications=120, + embed_links=60, ) CRITICAL_SECONDS_TO_CLEAR: DefaultDict[str, int] = defaultdict( lambda: 60, missedmessage_mobile_notifications=180, digest_emails=1800, + embed_links=90, ) def analyze_queue_stats(queue_name: str, stats: Dict[str, Any],