Reuse redis connection
bast-ii opened this issue · comments
Sebastian G. commented
Is there any way to reuse the connection to redis that channels sets up?
I would like to store data in redis independently of channels, without establishing another connection with redis-py.
Carlton Gibson commented
There's no public API for it, but the channel layer maintains a reference to the connection.
e.g.
channels_redis/channels_redis/core.py
Line 81 in 8b4ed2d