forked-synapse/tests/rest
Eric Eastwood c2e5e9e67c
Sliding Sync: Avoid fetching left rooms and add back newly_left rooms (#17725)
Performance optimization: We can avoid fetching rooms that the user has
left themselves (which could be a significant amount), then only add
back rooms that the user has `newly_left` (left in the token range of an
incremental sync). It's a lot faster to fetch less rooms than fetch them
all and throw them away in most cases. Since the user only leaves a room
(or is state reset out) once in a blue moon, we can avoid a lot of work.

Based on @erikjohnston's branch, erikj/ss_perf


---------

Co-authored-by: Erik Johnston <erik@matrix.org>
2024-09-19 10:07:18 -05:00
..
admin Add an Admin API endpoint to redact all a user's events (#17506) 2024-09-18 10:08:01 +00:00
client Sliding Sync: Avoid fetching left rooms and add back newly_left rooms (#17725) 2024-09-19 10:07:18 -05:00
key Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
media Fix slipped logging context when media rejected (#17239) 2024-05-29 11:14:42 +01:00
synapse An federation whitelist query endpoint extension (#16848) 2024-05-13 19:38:45 +00:00
__init__.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
test_health.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
test_well_known.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00