]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Sets broker connection retry settings for celery
authorTrenton H <797416+stumpylog@users.noreply.github.com>
Tue, 13 Jun 2023 15:21:15 +0000 (08:21 -0700)
committerTrenton H <797416+stumpylog@users.noreply.github.com>
Wed, 14 Jun 2023 03:15:18 +0000 (20:15 -0700)
src/paperless/settings.py

index c18fd571705339552950ed5b5763b77556a24934..ab33e6b1a5b1fe5a61b3ead927b1684b5878e663 100644 (file)
@@ -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)