0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-20 00:52:02 +01:00
synapse/tests/handlers
Sean Quah cdea7c11d0
Faster joins: Avoid starting duplicate partial state syncs (#14844)
Currently, we will try to start a new partial state sync every time we
perform a remote join, which is undesirable if there is already one
running for a given room.

We intend to perform remote joins whenever additional local users wish
to join a partial state room, so let's ensure that we do not start more
than one concurrent partial state sync for any given room.

------------------------------------------------------------------------

There is a race condition where the homeserver leaves a room and later
rejoins while the partial state sync from the previous membership is
still running. There is no guarantee that the previous partial state
sync will process the latest join, so we restart it if needed.

Signed-off-by: Sean Quah <seanq@matrix.org>
2023-01-20 12:06:19 +00:00
..
__init__.py
oidc_test_key.p8
oidc_test_key.pub.pem
test_admin.py
test_appservice.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_auth.py
test_cas.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_deactivate_account.py
test_device.py Revert the deletion of stale devices due to performance issues. (#14662) 2022-12-12 13:55:23 +00:00
test_directory.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_e2e_keys.py
test_e2e_room_keys.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_federation.py Faster joins: Avoid starting duplicate partial state syncs (#14844) 2023-01-20 12:06:19 +00:00
test_federation_event.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_message.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_oidc.py Support RFC7636 PKCE in the OAuth 2.0 flow. (#14750) 2023-01-04 14:58:08 -05:00
test_password_providers.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_presence.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_profile.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_receipts.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_register.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_room.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_room_member.py
test_room_summary.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_saml.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_send_email.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_sso.py
test_stats.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_sync.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_typing.py Modernize unit tests configuration settings for workers. (#14568) 2022-12-01 07:38:27 -05:00
test_user_directory.py Modernize unit tests configuration settings for workers. (#14568) 2022-12-01 07:38:27 -05:00