MatrixSynapse/synapse/handlers
Richard van der Hoff 17d99f758a
Optimise backfill calculation (#12522)
Try to avoid an OOM by checking fewer extremities.

Generally this is a big rewrite of _maybe_backfill, to try and fix some of the TODOs and other problems in it. It's best reviewed commit-by-commit.
2022-04-26 10:27:11 +01:00
..
ui_auth Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
account.py Optionally include account validity in MSC3720 account status responses (#12266) 2022-03-24 11:19:41 +01:00
account_data.py Add a module callback to react to account data changes (#12327) 2022-04-01 11:22:48 +02:00
account_validity.py Add some type hints to datastore (#12423) 2022-04-12 11:54:00 +01:00
admin.py Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
appservice.py Refactor and convert `Linearizer` to async (#12357) 2022-04-05 15:43:52 +01:00
auth.py Add a callback to react to 3PID associations (#12302) 2022-03-31 18:27:21 +02:00
cas.py Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
deactivate_account.py Add third_party module callbacks to check if a user can delete a room and deactivate a user (#12028) 2022-03-09 18:23:57 +00:00
device.py Only send out device list updates for our own users (#12465) 2022-04-14 13:05:31 +01:00
devicemessage.py Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
directory.py Rename various ApplicationServices interested methods (#11915) 2022-03-03 18:14:09 +00:00
e2e_keys.py Refactor and convert `Linearizer` to async (#12357) 2022-04-05 15:43:52 +01:00
e2e_room_keys.py Refactor and convert `Linearizer` to async (#12357) 2022-04-05 15:43:52 +01:00
event_auth.py Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
events.py Implement MSC2815: allow room moderators to view redacted event content (#12427) 2022-04-20 12:57:39 +01:00
federation.py Optimise backfill calculation (#12522) 2022-04-26 10:27:11 +01:00
federation_event.py Await un-partial-stating after a partial-state join (#12399) 2022-04-21 07:42:03 +01:00
groups_local.py Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
identity.py Remove support for the unstable identifier from MSC3288. (#12398) 2022-04-06 13:27:46 -04:00
initial_sync.py Use `ParamSpec` in type hints for `synapse.logging.context` (#12150) 2022-03-08 15:58:14 +00:00
message.py Fix missing sync events during historical batch imports (#12319) 2022-04-13 11:38:35 +01:00
oidc.py Implement a Jinja2 filter to extract localparts from email addresses (#12212) 2022-03-11 15:15:11 +00:00
pagination.py Generate historic pagination token for `/messages` when no `?from` token provided (#12370) 2022-04-06 11:40:28 +01:00
password_policy.py Use direct references for some configuration variables (part 3) (#10885) 2021-09-23 07:13:34 -04:00
presence.py Prevent a sync request from removing a user's busy presence status (#12213) 2022-04-13 16:21:07 +01:00
profile.py Always allow the empty string as an avatar_url. (#12261) 2022-03-25 13:28:42 +00:00
read_marker.py Refactor and convert `Linearizer` to async (#12357) 2022-04-05 15:43:52 +01:00
receipts.py Rename various ApplicationServices interested methods (#11915) 2022-03-03 18:14:09 +00:00
register.py Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
relations.py Misc. clean-ups to the relations code (#12519) 2022-04-25 08:25:56 -04:00
room.py Generate historic pagination token for `/messages` when no `?from` token provided (#12370) 2022-04-06 11:40:28 +01:00
room_batch.py Optimise backfill calculation (#12522) 2022-04-26 10:27:11 +01:00
room_list.py Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
room_member.py Refactor and convert `Linearizer` to async (#12357) 2022-04-05 15:43:52 +01:00
room_member_worker.py Implement knock feature (#6739) 2021-06-09 19:39:51 +01:00
room_summary.py Do not return allowed_room_ids from /hierarchy response. (#12175) 2022-03-08 08:09:11 -05:00
saml.py Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
search.py Remove experimental configuration flag for MSC3666. (#12436) 2022-04-11 15:37:46 -04:00
send_email.py Remove unnecessary ignores due to Twisted upgrade. (#11939) 2022-02-08 09:15:59 -05:00
set_password.py Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
sso.py Refactor and convert `Linearizer` to async (#12357) 2022-04-05 15:43:52 +01:00
state_deltas.py Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
stats.py Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
sync.py Fix missing sync events during historical batch imports (#12319) 2022-04-13 11:38:35 +01:00
typing.py Improve code documentation for the typing stream over replication. (#12211) 2022-03-11 14:00:15 +00:00
user_directory.py Correct `check_username_for_spam` annotations and docs (#12246) 2022-03-18 13:51:41 +00:00