diff --git a/apiserver/plane/settings/production.py b/apiserver/plane/settings/production.py index b8f48a830..a61d8a909 100644 --- a/apiserver/plane/settings/production.py +++ b/apiserver/plane/settings/production.py @@ -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")