mirror of https://github.com/rq/rq.git
Add REDIS_SSL option
Allow the worker to connect to a Redis instance through SSL (ex: Azure Redis Cache use SSL only by default)
This commit is contained in:
parent
30b21ef06e
commit
9fba806662
|
@ -36,6 +36,7 @@ def get_redis_from_config(settings):
|
|||
port=settings.get('REDIS_PORT', 6379),
|
||||
db=settings.get('REDIS_DB', 0),
|
||||
password=settings.get('REDIS_PASSWORD', None),
|
||||
ssl=settings.get('REDIS_SSL',False)
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue