From ae6103396ea506c7b3ac1d0638a67c24e281625f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Val=C3=A9rio?= Date: Fri, 22 Mar 2019 12:14:07 +0000 Subject: [PATCH] changed redis config to accept more compreensive settings --- webhook_logger/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webhook_logger/settings.py b/webhook_logger/settings.py index eca02cd..f036d68 100644 --- a/webhook_logger/settings.py +++ b/webhook_logger/settings.py @@ -105,7 +105,7 @@ ASGI_APPLICATION = "webhook_logger.routing.application" CHANNEL_LAYERS = { "default": { "BACKEND": "channels_redis.core.RedisChannelLayer", - "CONFIG": {"hosts": [(os.environ.get("REDIS_URL", "127.0.0.1"), 6379)]}, + "CONFIG": {"hosts": [os.environ.get("REDIS_URL", "redis://localhost:6379")]}, } }