File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 167
167
# https://docs.celeryq.dev/en/stable/userguide/configuration.html#redis-backend-settings
168
168
# should be one of "required", "optional", or "none"
169
169
REDIS_SSL_CERT_REQS = os .getenv ("REDIS_SSL_CERT_REQS" , "none" )
170
- REDIS_SSL_CA_CERTS = os .getenv ("REDIS_SSL_CA_CERTS" , "" )
170
+ REDIS_SSL_CA_CERTS = os .getenv ("REDIS_SSL_CA_CERTS" , None )
171
171
172
172
CELERY_RESULT_EXPIRES = int (os .environ .get ("CELERY_RESULT_EXPIRES" , 86400 )) # seconds
173
173
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ def create_pool(
42
42
db : int = REDIS_DB_NUMBER ,
43
43
password : str = REDIS_PASSWORD ,
44
44
max_connections : int = REDIS_POOL_MAX_CONNECTIONS ,
45
- ssl_ca_certs : str = REDIS_SSL_CA_CERTS ,
45
+ ssl_ca_certs : str | None = REDIS_SSL_CA_CERTS ,
46
46
ssl_cert_reqs : str = REDIS_SSL_CERT_REQS ,
47
47
ssl : bool = False ,
48
48
) -> redis .ConnectionPool :
You can’t perform that action at this time.
0 commit comments