Fix #4454 -- Resolve deprecation warning from celery

This commit is contained in:
Raphael Michel
2024-09-17 13:36:35 +02:00
parent eb92e4d8e6
commit 100e8d0a4b

View File

@@ -340,6 +340,7 @@ if HAS_CELERY:
CELERY_BROKER_TRANSPORT_OPTIONS = loads(config.get('celery', 'broker_transport_options'))
if HAS_CELERY_BACKEND_TRANSPORT_OPTS:
CELERY_RESULT_BACKEND_TRANSPORT_OPTIONS = loads(config.get('celery', 'backend_transport_options'))
CELERY_BROKER_CONNECTION_RETRY_ON_STARTUP = True
else:
CELERY_TASK_ALWAYS_EAGER = True