seems redis is the problem still

This commit is contained in:
brad stein 2018-10-24 08:34:58 -05:00
parent 4bd97475c1
commit dfa6f53be3

View File

@ -74,13 +74,13 @@ WSGI_APPLICATION = 'ChannelsDrawShareSite.wsgi.application'
ASGI_APPLICATION = 'ChannelsDrawShareSite.routing.application' ASGI_APPLICATION = 'ChannelsDrawShareSite.routing.application'
CHANNEL_LAYERS = { CHANNEL_LAYERS = {
# 'default': {
# 'BACKEND': 'channels_redis.core.RedisChannelLayer',
# 'CONFIG': {
# "hosts": [('127.0.0.1', 6379)],
# },
# },
'default': { 'default': {
'BACKEND': 'channels_redis.core.RedisChannelLayer',
'CONFIG': {
"hosts": [('127.0.0.1', 6379)],
},
},
'heroku': {
'BACKEND': 'channels_redis.core.RedisChannelLayer', 'BACKEND': 'channels_redis.core.RedisChannelLayer',
'CONFIG': { 'CONFIG': {
"hosts": [os.environ.get('REDIS_URL', 'redis://localhost:6379')], "hosts": [os.environ.get('REDIS_URL', 'redis://localhost:6379')],