changed redis config to accept more compreensive settings
This commit is contained in:
parent
9abc5b3da2
commit
ae6103396e
|
@ -105,7 +105,7 @@ ASGI_APPLICATION = "webhook_logger.routing.application"
|
||||||
CHANNEL_LAYERS = {
|
CHANNEL_LAYERS = {
|
||||||
"default": {
|
"default": {
|
||||||
"BACKEND": "channels_redis.core.RedisChannelLayer",
|
"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")]},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue