You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 20, 2024. It is now read-only.
I noticed channels redis has a betaRedisPubSubChannelLayer that can be used, and I wondered if this might magically work (as I could switch that out in prod to try), and so far so good... it might be that it uses a sufficiently differently mechanism and avoids the issue. Or, potentially the issue reappears, as it was not reliably always occuring.
Anyway, this is a dirty fix on the server for now...
The text was updated successfully, but these errors were encountered:
I was writing in a chat on karrot.world and noticed the message I sent wasn't appearing in the chat. It was there if I refreshed.
I dug a little deeper and here's the story:
RedisChannelLayer.receive()
drops events due toasyncio.shield()
in redis-py 4.5.4 django/channels_redis#366 - they point to the redis-py making changes which cause those, so we could pin the version a bit lower (<4.4
, we have4.5.5
, which was upgraded from4.3.4
, 3 months ago in a383c8459)I noticed channels redis has a beta
RedisPubSubChannelLayer
that can be used, and I wondered if this might magically work (as I could switch that out in prod to try), and so far so good... it might be that it uses a sufficiently differently mechanism and avoids the issue. Or, potentially the issue reappears, as it was not reliably always occuring.Anyway, this is a dirty fix on the server for now...
The text was updated successfully, but these errors were encountered: