anonymousland-synapse/synapse
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
..
_scripts Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
api Implement MSC2815: allow room moderators to view redacted event content (#12427) 2022-04-20 12:57:39 +01:00
app Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
appservice MSC3202: Fix device_unused_fallback_keys -> device_unused_fallback_key_types (#12520) 2022-04-22 16:03:46 +01:00
config Implement MSC2815: allow room moderators to view redacted event content (#12427) 2022-04-20 12:57:39 +01:00
crypto Bump black and click versions (#12320) 2022-04-05 11:04:28 +01:00
events Misc. clean-ups to the relations code (#12519) 2022-04-25 08:25:56 -04:00
federation Implement MSC3383: include destination in X-Matrix auth header (#11398) 2022-04-19 16:23:53 +01:00
groups Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
handlers Optimise backfill calculation (#12522) 2022-04-26 10:27:11 +01:00
http Implement MSC3383: include destination in X-Matrix auth header (#11398) 2022-04-19 16:23:53 +01:00
logging Add opentracing spans to calls to external cache (#12380) 2022-04-07 13:18:29 +01:00
metrics Update type annotations for compatiblity with prometheus_client 0.14 (#12389) 2022-04-06 12:59:04 +00:00
module_api Add Module API for reading and writing global account data. (#12391) 2022-04-11 10:05:43 +01:00
push Refactor and convert Linearizer to async (#12357) 2022-04-05 15:43:52 +01:00
replication Add opentracing spans to calls to external cache (#12380) 2022-04-07 13:18:29 +01:00
res Fix Jinja templating error when generating thumbnail URLs. (#12510) 2022-04-20 12:03:03 -04:00
rest Implement MSC2815: allow room moderators to view redacted event content (#12427) 2022-04-20 12:57:39 +01:00
server_notices Update the server notices user profile in room if changed. (#12115) 2022-04-08 07:51:27 -04:00
spam_checker_api Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
state Refactor and convert Linearizer to async (#12357) 2022-04-05 15:43:52 +01:00
static Display an error page during failure of fallback UIA. (#10561) 2021-08-18 08:13:35 -04:00
storage Optimise backfill calculation (#12522) 2022-04-26 10:27:11 +01:00
streams Generate historic pagination token for /messages when no ?from token provided (#12370) 2022-04-06 11:40:28 +01:00
util Update delay_cancellation to accept any awaitable (#12468) 2022-04-22 18:20:06 +01:00
__init__.py Dump setuptools; correct pyproject version number (#12478) 2022-04-20 17:33:20 +01:00
event_auth.py Remove excess condition on knock->leave check (#11900) 2022-02-22 18:35:01 +00:00
notifier.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
py.typed Mark Module API error imports as re-exported and mark Synapse as containing type annotations (#11054) 2021-10-13 08:42:41 +01:00
server.py Remove references to unstable identifiers from MSC3440. (#12382) 2022-04-12 08:42:03 -04:00
types.py Make StreamToken and RoomStreamToken methods propagate cancellations (#12366) 2022-04-05 16:56:52 +01:00
visibility.py Optimise backfill calculation (#12522) 2022-04-26 10:27:11 +01:00