mirror of
https://github.com/neogeek23/drawshare.git
synced 2026-02-04 02:58:16 +00:00
Looks like I need redis
This commit is contained in:
parent
94cfd2803a
commit
df097cbf68
@ -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')],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user