Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

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

Bowen Liang28089c98c18f
diff --git a/api/extensions/ext_celery.py b/api/extensions/ext_celery.py
index fcb99a9e83b..bd4755e7688 100644
--- a/api/extensions/ext_celery.py
+++ b/api/extensions/ext_celery.py
@@ -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"]: