Add support for using SSL connections to Redis.

This commit is contained in:
Alexander Kinneer 2019-03-19 11:27:45 -05:00
parent df16a431ca
commit 5beb3093db
2 changed files with 2 additions and 0 deletions

View file

@ -146,6 +146,7 @@ REDIS = {
'PASSWORD': os.environ.get('REDIS_PASSWORD', read_secret('redis_password')),
'DATABASE': os.environ.get('REDIS_DATABASE', '0'),
'DEFAULT_TIMEOUT': os.environ.get('REDIS_TIMEOUT', '300'),
'SSL': os.environ.get('REDIS_SSL', 'False').lower() == 'true',
}
# The file path where custom reports will be stored. A trailing slash is not needed. Note that the default value of