Add entry ssl_ca_certs in worker config settings (#1347)

main
Qiming Sun 4 years ago committed by GitHub
parent 237e69123a
commit 4e4afefd18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -54,6 +54,7 @@ def get_redis_from_config(settings, connection_class=Redis):
'db': settings.get('REDIS_DB', 0),
'password': settings.get('REDIS_PASSWORD', None),
'ssl': settings.get('REDIS_SSL', False),
'ssl_ca_certs': settings.get('REDIS_SSL_CA_CERTS', None),
}
return connection_class(**kwargs)

Loading…
Cancel
Save