chore: changed redis ssl

This commit is contained in:
NarayanBavisetti 2023-11-20 17:07:41 +05:30
parent 46dd9a4999
commit 63fd6caba6

View File

@ -149,7 +149,7 @@ else:
# Redis Config
REDIS_URL = os.environ.get("REDIS_URL")
REDIS_SSL = "rediss" in REDIS_URL
REDIS_SSL = REDIS_URL and "rediss" in REDIS_URL
if REDIS_SSL:
CACHES = {