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:
Eric Bustarret 2015-03-06 12:53:48 +01:00
parent 30b21ef06e
commit 9fba806662
1 changed files with 1 additions and 0 deletions

View File

@ -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)
)