From 71e4be2d5e2147cab520990f39ba1883f03b7620 Mon Sep 17 00:00:00 2001 From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Tue, 13 Jun 2023 08:21:15 -0700 Subject: [PATCH] Sets broker connection retry settings for celery --- src/paperless/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/paperless/settings.py b/src/paperless/settings.py index c18fd5717..ab33e6b1a 100644 --- a/src/paperless/settings.py +++ b/src/paperless/settings.py @@ -676,6 +676,7 @@ CELERY_WORKER_SEND_TASK_EVENTS = True CELERY_TASK_SEND_SENT_EVENT = True CELERY_SEND_TASK_SENT_EVENT = True CELERY_BROKER_CONNECTION_RETRY = True +CELERY_BROKER_CONNECTION_RETRY_ON_STARTUP = True CELERY_TASK_TRACK_STARTED = True CELERY_TASK_TIME_LIMIT: Final[int] = __get_int("PAPERLESS_WORKER_TIMEOUT", 1800)