encode / broadcaster

Broadcast channels for async web apps. 📢
BSD 3-Clause "New" or "Revised" License
1.13k stars 121 forks source link

can't define redis database number #54

Closed vessaldaneshvar closed 2 years ago

vessaldaneshvar commented 3 years ago

I review source code of backends related to connect redis backend I can't connect to specific db in redis and this ignore in codebase of parse URI definition

in broadcaster/_backends/redis.py initialize RedisBackend by port and host , in this section must be define database number

redis://HOST[:PORT][?db=DATABASE[&password=PASSWORD]]

db is missing on URI define

Kludex commented 3 years ago

PR welcome.

Kludex commented 2 years ago

If someone is seeing this, and there's interest on creating a PR, feel free to do so.

I'm closing it because it's stale, and it doesn't look like there's interest on it.