-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
When the max number of to_device
messages for a sync is reached, the next sync does not return immediately
#11457
Comments
For extra context, we currently limit to 100 If we have leftover |
We want the Matrix protocol to have good performance, and so the Matrix clients, so I would rise up the severity of this issue, S-Minor is not enough to me. |
It seems counterproductive for clients to have to spend time implementing workarounds for server-side bugs. @callahad: can we fit this in? |
Bumping severity + priority per discussion above. @DMRobertson may be able to look at this once he finishes up work on another sync issue. |
Slightly off-topic, but currently clients will do a The thing is that client might be doing that endlessly if there are always new to_device events. I wonder if we don't need a |
I was only able to reproduce this in unit tests on SQLite. @BillCarsonFr were you experiencing this on servers using postgres? |
So looks like the bug I fixed in #11966 is a recent regression and hasn't made it to a release yet. Can someone confirm if this issue is still present? |
to_device
messages for a sync is reached, the next sync does not return immediately
given nobody is reporting this any more, I'm going to assume it is now resolved. We can reopen if anyone can still reproduce. |
It appears that when you have reached the maximum number of to_device per sync, the next call to sync does not return immediatly with the remaining to_devices.
There must be new incoming data in order for the sync to trigger and return.
Expected:
If there are pending to_devices to deliver the sync should return immediatly instead of waiting for timeout or new data?
The text was updated successfully, but these errors were encountered: