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
|
|
@ -223,6 +223,10 @@ class CeleryConfig(DatabaseConfig):
|
|||
default=None,
|
||||
)
|
||||
|
||||
CELERY_SENTINEL_PASSWORD: Optional[str] = Field(
|
||||
description="Password of the Redis Sentinel master.",
|
||||
default=None,
|
||||
)
|
||||
CELERY_SENTINEL_SOCKET_TIMEOUT: Optional[PositiveFloat] = Field(
|
||||
description="Timeout for Redis Sentinel socket operations in seconds.",
|
||||
default=0.1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue