channels_redis
channels_redis copied to clipboard
Redis channel layer backend for Django Channels
https://github.com/django/channels_redis/issues/412
Hey folks, great work here, thanks a lot! I was wondering if there are any plans to add type hints to the project :D
Addresses #299 This library (`aioredlock`) Implements the redis [distributed locking algorithm `redlock`](https://redis.io/docs/latest/develop/use/patterns/distributed-locks/) This should create a distributed lock that prevents other consumers from receiving the message if it has already...
Using: channels_redis=4.1.0 redis=5.2.1 We use this to run async tasks in our project (with channels workers). We seem to be dropping already awaited tasks when an exception occurs in a...
Hey! I have a Django application using Django Channels, and I'm observing many errors in Datadog related to the Redis `BZPOPMIN` command. Does anyone have any ideas why I might...
Problem started occurring with `channels==4.2.1` ``` File "/code/dealer/daemon/handlers/player_channel_handler.py", line 21, in send_to_channel async_to_sync(layer.send)(channel_dest, new_message) File "/usr/local/lib/python3.12/site-packages/asgiref/sync.py", line 254, in __call__ return call_result.result() ^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 449, in result return...
Internal API was renamed in Channels 4.2.1 Initial rename will work for new versions, but not older channels versions. Maybe just need to make channels>=4.2.1. a requirement.
When I was deploying pubsub layer using AWS Redis ElasticCache using default paramters, I noticed that occasionally my webservers will report ``` Connection closed by server. ``` during `group_send` `PUBLISH`...
It looks like since https://github.com/django/channels_redis/pull/326, on_disconnect and on_reconnect are no longer used/ supported in the pubsub implementation. Should we remove the documentation and API around them?
In my scenerio, the websocket message must be obtained the client. I want to add the error log if the the channel is over capacity so that I can determine...