-
-
Notifications
You must be signed in to change notification settings - Fork 294
Open
Description
When "URL" is provided in the config, the "REDIS_CLIENT_KWARGS" parameter is not used when creating the Redis
instance. This means that additional arguments such as ssl_ca_certs
cannot be provided alongside the url.
Lines 81 to 92 in cd05d2f
if 'URL' in config: | |
if config.get('SSL') or config.get('URL').startswith('rediss://'): | |
return redis_cls.from_url( | |
config['URL'], | |
db=config.get('DB'), | |
ssl_cert_reqs=config.get('SSL_CERT_REQS', 'required'), | |
) | |
else: | |
return redis_cls.from_url( | |
config['URL'], | |
db=config.get('DB'), | |
) |
A workaround for the moment is to pass the separate host, port, ssl, etc. arguments instead of the url.
Possibly related issue: #674
jackmpcollins
Metadata
Metadata
Assignees
Labels
No labels