fix: skip Celery warning by setting broker_connection_retry_on_startup config (#3188)

pull/3235/head
Bowen Liang 2 years ago committed by GitHub
parent 10d6d50b6c
commit 28089c98c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -28,6 +28,7 @@ def init_app(app: Flask) -> Celery:
celery_app.conf.update(
result_backend=app.config["CELERY_RESULT_BACKEND"],
broker_connection_retry_on_startup=True,
)
if app.config["BROKER_USE_SSL"]:

Loading…
Cancel
Save