From 9fba806662cf58acdb7ab92512ea4ca5195fe529 Mon Sep 17 00:00:00 2001 From: Eric Bustarret Date: Fri, 6 Mar 2015 12:53:48 +0100 Subject: [PATCH] Add REDIS_SSL option Allow the worker to connect to a Redis instance through SSL (ex: Azure Redis Cache use SSL only by default) --- rq/cli/helpers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rq/cli/helpers.py b/rq/cli/helpers.py index d5c54a1..8a13218 100644 --- a/rq/cli/helpers.py +++ b/rq/cli/helpers.py @@ -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) )