mirror of
https://github.com/neogeek23/drawshare.git
synced 2026-02-04 11:08:21 +00:00
seems redis is the problem still
This commit is contained in:
parent
4bd97475c1
commit
dfa6f53be3
@ -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')],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user