From 940131afd8a32100aa679198062f9455cb646ce3 Mon Sep 17 00:00:00 2001 From: Julian Bez Date: Mon, 5 Aug 2024 16:04:40 +0100 Subject: [PATCH] fix(queries): Increase max retries when async queries hit concurrency (#24191) --- posthog/tasks/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posthog/tasks/tasks.py b/posthog/tasks/tasks.py index e192aa2932bec..5c4b085072287 100644 --- a/posthog/tasks/tasks.py +++ b/posthog/tasks/tasks.py @@ -45,7 +45,7 @@ def redis_heartbeat() -> None: ), retry_backoff=1, retry_backoff_max=10, - max_retries=3, + max_retries=10, expires=60 * 10, # Do not run queries that got stuck for more than this reject_on_worker_lost=True, )