mirror of
https://github.com/django/daphne.git
synced 2025-04-20 08:42:18 +03:00
Add pip install comand for asgi_redis (#166)
This commit is contained in:
parent
8827063bf2
commit
c89a6cc9b9
|
@ -290,7 +290,11 @@ but all in one process)*
|
|||
|
||||
Let's try out the Redis backend - Redis runs on pretty much every machine, and
|
||||
has a very small overhead, which makes it perfect for this kind of thing. Install
|
||||
the ``asgi_redis`` package using ``pip``, and set up your channel layer like this::
|
||||
the ``asgi_redis`` package using ``pip``. ::
|
||||
|
||||
pip install asgi_redis
|
||||
|
||||
and set up your channel layer like this::
|
||||
|
||||
# In settings.py
|
||||
CHANNEL_LAYERS = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user