seems redis is the problem

This commit is contained in:
brad stein 2018-10-24 08:31:16 -05:00
parent c1862de1de
commit 4bd97475c1

View File

@ -80,6 +80,13 @@ CHANNEL_LAYERS = {
"hosts": [('127.0.0.1', 6379)], "hosts": [('127.0.0.1', 6379)],
}, },
}, },
'heroku': {
'BACKEND': 'channels_redis.core.RedisChannelLayer',
'CONFIG': {
"hosts": [os.environ.get('REDIS_URL', 'redis://localhost:6379')],
},
"ROUTING": "chat.routing.channel_routing",
}
} }
CACHES = { CACHES = {