Created
October 2, 2019 05:42
-
-
Save SubCoder1/672602dc98f8f88b69084fbb6d51cbf4 to your computer and use it in GitHub Desktop.
Django-channels CHANNEL_LAYERS settings for password-protected Redis-server
This file contains 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": "asgi_redis.RedisChannelLayer", | |
"ROUTING": "widget.routing.channel_routing", | |
"CONFIG": { | |
"hosts": [("redis://:[email protected]:6379/0")], | |
}, | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment