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.
This commit is contained in:
Mateusz Mandera 2020-09-17 15:21:44 +02:00 committed by Tim Abbott
parent cd9b194d88
commit e2dcdc2758
1 changed files with 2 additions and 0 deletions

View File

@ -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],