Add Env 'CELERY_SENTINEL_PASSWORD' for celery connect redis sentinel. (#21198)
This commit is contained in:
@@ -21,6 +21,7 @@ def init_app(app: DifyApp) -> Celery:
|
||||
"master_name": dify_config.CELERY_SENTINEL_MASTER_NAME,
|
||||
"sentinel_kwargs": {
|
||||
"socket_timeout": dify_config.CELERY_SENTINEL_SOCKET_TIMEOUT,
|
||||
"password": dify_config.CELERY_SENTINEL_PASSWORD,
|
||||
},
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user