chore: else flow for not dockerised redis instances

This commit is contained in:
vamsi 2023-01-11 00:17:49 +05:30
parent 50503620de
commit 43d17e86f3

View File

@ -235,15 +235,15 @@ if not DOCKERIZED:
},
},
}
CHANNEL_LAYERS = {
"default": {
"BACKEND": "channels_redis.core.RedisChannelLayer",
"CONFIG": {
"hosts": [(os.environ.get("REDIS_URL"))],
else:
CHANNEL_LAYERS = {
"default": {
"BACKEND": "channels_redis.core.RedisChannelLayer",
"CONFIG": {
"hosts": [(os.environ.get("REDIS_URL"))],
},
},
},
}
}
WEB_URL = os.environ.get("WEB_URL")