mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 13:59:06 +08:00
fix: skip Celery warning by setting broker_connection_retry_on_startup config (#3188)
This commit is contained in:
parent
10d6d50b6c
commit
28089c98c1
@ -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…
x
Reference in New Issue
Block a user