forked-synapse/synapse/rest
Erik Johnston be4a16ff44
Sliding Sync: Track whether we have sent rooms down to clients (#17447)
The basic idea is that we introduce a new token for a sliding sync
connection, which stores the mapping of room to room "status" (i.e. have
we sent the room down?). This token allows us to handle duplicate
requests properly. In future it can be used to store more
"per-connection" information safely.

In future this should be migrated into the DB, so its important that we
try to reduce the number of syncs where we need to update the
per-connection information. In this PoC this only happens when we: a)
send down a set of room for the first time, or b) we have previously
sent down a room and there are updates but we are not sending the room
down the sync (due to not falling in a list range)

Co-authored-by: Eric Eastwood <eric.eastwood@beta.gouv.fr>
2024-07-29 22:45:48 +01:00
..
admin Allow enabling sliding sync per-user (#17393) 2024-07-05 13:04:27 +01:00
client Sliding Sync: Track whether we have sent rooms down to clients (#17447) 2024-07-29 22:45:48 +01:00
consent Update license headers 2023-11-21 15:29:58 -05:00
key Reorganize Pydantic models and types used in handlers (#17279) 2024-06-10 15:03:50 -05:00
media Prepare for authenticated media freeze (#17433) 2024-07-22 10:33:17 +01:00
synapse An federation whitelist query endpoint extension (#16848) 2024-05-13 19:38:45 +00:00
__init__.py Fix new media APIs when using synapse.app.media_repository (#17420) 2024-07-09 18:29:32 +01:00
health.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
well_known.py Update license headers 2023-11-21 15:29:58 -05:00