0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-26 21:14:09 +01:00
Commit graph

5 commits

Author SHA1 Message Date
Sean Quah
0a686d1d13
Faster joins: Refactor handling of servers in room ()
Ensure that the list of servers in a partial state room always contains
the server we joined off.

Also refactor `get_partial_state_servers_at_join` to return `None` when
the given room is no longer partial stated, to explicitly indicate when
the room has partial state. Otherwise it's not clear whether an empty
list means that the room has full state, or the room is partial stated,
but the server we joined off told us that there are no servers in the
room.

Signed-off-by: Sean Quah <seanq@matrix.org>
2023-02-03 15:39:59 +00:00
Dirk Klimpel
682dfcfc0d
Fix that user cannot /forget rooms after the last member has left () 2022-08-30 09:58:38 +00:00
Patrick Cloke
f3fba4914d
Reduce the number of tests using TCP replication. ()
Uses Redis replication in additional test cases (instead of
TCP replication). A small step towards dropping TCP replication.
2022-08-19 08:25:24 -04:00
Dirk Klimpel
e2ed1b7155
Use literals in place of HTTPStatus constants in tests () 2022-08-05 16:59:09 +02:00
David Robertson
b977867358
Rate limit joins per-room () 2022-07-19 11:45:17 +00:00