Add Env 'CELERY_SENTINEL_PASSWORD' for celery connect redis sentinel. (#21198)
This commit is contained in:
parent
38a704743c
commit
28f5c37211
4 changed files with 7 additions and 0 deletions
|
|
@ -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,
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue