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 Apr 26, 2024. It is now read-only.
squahtx opened this issue
Sep 17, 2021
· 3 comments
Labels
P3(OBSOLETE: use S- labels.) Approved backlog: not yet scheduled, will accept patchesS-MinorBlocks non-critical functionality, workarounds exist.T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.
The /rooms/{roomId}/initialSync endpoint is deprecated and the documentation suggests using /sync instead.
However, using /sync with a room filter has drastically worse performance for users in very many rooms,
eg. taking up to 400 seconds for a user in 2,200 rooms and pulling 100,000+ events from the database.
Steps to reproduce
GET /_matrix/client/r0/sync?filter=%7B%22room%22:+%7B%22rooms%22:+%5B%22!XXXXXXXXXXXXXXXXXX:matrix.org%22%5D,+%22state%22:+%7B%22rooms%22:+%5B%22!XXXXXXXXXXXXXXXXXX:matrix.org%22%5D%7D,+%22timeline%22:+%7B%22rooms%22:+%5B%22!XXXXXXXXXXXXXXXXXX:matrix.org%22%5D,+%22senders%22:+%5B%22@xxxxxxxxxx:matrix.org%22%5D%7D,+%22ephemeral%22:+%7B%22limit%22:+0,+%22types%22:+%5B%5D%7D,+%22account_data%22:+%7B%22limit%22:+0,+%22types%22:+%5B%5D%7D%7D,+%22presence%22:+%7B%22limit%22:+0,+%22types%22:+%5B%5D%7D,+%22account_data%22:+%7B%22limit%22:+0,+%22types%22:+%5B%5D%7D%7D
Version information
Homeserver: matrix.org
The text was updated successfully, but these errors were encountered:
Gnuxie
added a commit
to matrix-org/mjolnir
that referenced
this issue
Sep 17, 2021
See matrix-org/synapse#10842.
For the time being this seems to be the only way to avoid requests
that take several minutes for synapse to complete and timeout.
Gnuxie
added a commit
to matrix-org/mjolnir
that referenced
this issue
Sep 17, 2021
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
P3(OBSOLETE: use S- labels.) Approved backlog: not yet scheduled, will accept patchesS-MinorBlocks non-critical functionality, workarounds exist.T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.
Description
The
/rooms/{roomId}/initialSync
endpoint is deprecated and the documentation suggests using/sync
instead.However, using
/sync
with a room filter has drastically worse performance for users in very many rooms,eg. taking up to 400 seconds for a user in 2,200 rooms and pulling 100,000+ events from the database.
Steps to reproduce
Version information
The text was updated successfully, but these errors were encountered: