From 39086e81acc3c9e6ce267ed040037a56c699944b Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Thu, 15 Sep 2022 11:23:10 +0200 Subject: [PATCH] Fix missing countdown in new webhook retry logic --- src/pretix/api/webhooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/api/webhooks.py b/src/pretix/api/webhooks.py index cf88ec4c5..4cc016cca 100644 --- a/src/pretix/api/webhooks.py +++ b/src/pretix/api/webhooks.py @@ -454,7 +454,7 @@ def send_webhook(self, logentry_id: int, action_type: str, webhook_id: int, retr if retry_count >= len(retry_intervals): return 'retry-given-up' elif retry_intervals[retry_count] < retry_celery_cutoff: - send_webhook.apply_async(args=(logentry_id, action_type, webhook_id, retry_count + 1)) + send_webhook.apply_async(args=(logentry_id, action_type, webhook_id, retry_count + 1), countdown=retry_intervals[retry_count]) return 'retry-via-celery' else: webhook.retries.update_or_create(