Open
Description
It appears that if you write a message to a channel, for example via group_send
, and no reader ever appears on that channel, the messages will remain in the in-memory queue channels.layers.channel_layers.backends['default'].receive_buffer
indefinitely when using the RedisChannelLayer
backend. In particular I have captured a server that has over 100k items in that dictionary.
One way to avoid this problem would be to extend the API for group_send
with a time-to-live parameter so that messages would expire over time if they weren't read. Thoughts?
My pip freeze
, in case it's useful:
channels==2.1.2
channels-redis==2.2.1
Metadata
Metadata
Assignees
Labels
No labels