This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
OpenSource
/
dify
Watch
4
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
152
Wiki
Activity
Browse Source
fix: skip Celery warning by setting broker_connection_retry_on_startup config (
#3188
)
tags/0.6.1
Bowen Liang
1 year ago
parent
10d6d50b6c
commit
28089c98c1
No account linked to committer's email address
1 changed files
with
1 additions
and
0 deletions
Split View
Show Diff Stats
1
0
api/extensions/ext_celery.py
+ 1
- 0
api/extensions/ext_celery.py
View File
@@ -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"]:
Write
Preview
Loading…
Cancel
Save