Looks like I need redis

This commit is contained in:
brad stein 2018-10-23 21:55:02 -05:00
parent 94cfd2803a
commit df097cbf68

View File

@ -77,7 +77,8 @@ CHANNEL_LAYERS = {
'default': { 'default': {
'BACKEND': 'channels_redis.core.RedisChannelLayer', 'BACKEND': 'channels_redis.core.RedisChannelLayer',
'CONFIG': { 'CONFIG': {
"hosts": [('127.0.0.1', 6379)], # "hosts": [('127.0.0.1', 6379)],
"hosts": [os.environ.get('REDIS_URL', 'redis://localhost:6379')],
}, },
}, },
} }