Add REDIS_SSL option

Allow the worker to connect to a Redis instance through SSL (ex: Azure
Redis Cache use SSL only by default)
main
Eric Bustarret 10 years ago
parent 30b21ef06e
commit 9fba806662

@ -36,6 +36,7 @@ def get_redis_from_config(settings):
port=settings.get('REDIS_PORT', 6379), port=settings.get('REDIS_PORT', 6379),
db=settings.get('REDIS_DB', 0), db=settings.get('REDIS_DB', 0),
password=settings.get('REDIS_PASSWORD', None), password=settings.get('REDIS_PASSWORD', None),
ssl=settings.get('REDIS_SSL',False)
) )

Loading…
Cancel
Save