Created
August 23, 2020 18:47
-
-
Save gagansh7171/737e1183221047ab64d0b07384b32e33 to your computer and use it in GitHub Desktop.
Settings Redis
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CHANNEL_LAYERS = { | |
'default' : { | |
'BACKEND': 'channels_redis.core.RedisChannelLayer', | |
'CONFIG' : { | |
"hosts" : [('redis', 6379)], # You are supposed to use service name and not localhost | |
}, | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment