From 8e0848ecab99ec8b5938450a68c6cfa889313a62 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sun, 11 Feb 2024 09:50:21 -0500 Subject: [PATCH] Disable django-q2 task retries --- cmsmanage/settings/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmsmanage/settings/base.py b/cmsmanage/settings/base.py index 0e7fe29..f2def4e 100644 --- a/cmsmanage/settings/base.py +++ b/cmsmanage/settings/base.py @@ -129,12 +129,12 @@ Q_CLUSTER = { "timeout": 60 * 5, "catch_up": False, "error_reporter": {"admin_email": {}}, + "ack_failures": True, + "max_attempts": 1, "ALT_CLUSTERS": { "internal": { "retry": 60 * 60, "timeout": 60 * 59, - "ack_failures": True, - "max_attempts": 1, }, }, }