Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Sets broker connection retry settings for celery

Trenton H71e4be2d5e21
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)