From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Tue, 13 Jun 2023 15:21:15 +0000 (-0700) Subject: Sets broker connection retry settings for celery X-Git-Tag: v1.16.0~1^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71e4be2d5e2147cab520990f39ba1883f03b7620;p=thirdparty%2Fpaperless-ngx.git Sets broker connection retry settings for celery --- diff --git a/src/paperless/settings.py b/src/paperless/settings.py index c18fd57170..ab33e6b1a5 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)