synapse-product/synapse
Richard van der Hoff b4b2fd2ece
add a cache to have_seen_event (#9953)
Empirically, this helped my server considerably when handling gaps in Matrix HQ. The problem was that we would repeatedly call have_seen_events for the same set of (50K or so) auth_events, each of which would take many minutes to complete, even though it's only an index scan.
2021-06-01 12:04:47 +01:00
..
_scripts Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
api Set opentracing priority before setting other tags (#10092) 2021-05-28 16:14:08 +01:00
app Move some more endpoints off master (#10084) 2021-05-27 22:45:43 +01:00
appservice Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
config Remove redundant code to reload tls cert (#10054) 2021-05-27 10:34:24 +01:00
crypto Add Keyring.verify_events_for_server and reduce memory usage (#10018) 2021-05-20 16:25:11 +01:00
events Add missing type hints to handlers and fix a Spam Checker type hint. (#9896) 2021-04-29 07:17:28 -04:00
federation Set opentracing priority before setting other tags (#10092) 2021-05-28 16:14:08 +01:00
groups Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
handlers add a cache to have_seen_event (#9953) 2021-06-01 12:04:47 +01:00
http Log method and path when dropping request due to size limit (#10091) 2021-05-28 15:57:53 +01:00
logging Fix opentracing inject to use the SpanContext, not the Span (#10074) 2021-06-01 08:40:26 +01:00
metrics Set opentracing priority before setting other tags (#10092) 2021-05-28 16:14:08 +01:00
module_api Use a database table to hold the users that should have full presence sent to them, instead of something in-memory (#9823) 2021-05-18 14:13:45 +01:00
push Split multiplart email sending into a dedicated handler (#9977) 2021-05-17 12:33:38 +02:00
replication Combine LruCache.invalidate and invalidate_many (#9973) 2021-05-27 10:33:56 +01:00
res/templates Port "Allow users to click account renewal links multiple times without hitting an 'Invalid Token' page #74" from synapse-dinsic (#9832) 2021-04-19 19:16:34 +01:00
rest Move some more endpoints off master (#10084) 2021-05-27 22:45:43 +01:00
server_notices Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
spam_checker_api Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
state Use get_current_users_in_room from store and not StateHandler (#9910) 2021-05-05 16:49:34 +01:00
static Add initial support for a "pick your IdP" page (#9017) 2021-01-05 11:25:28 +00:00
storage add a cache to have_seen_event (#9953) 2021-06-01 12:04:47 +01:00
streams Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
util Fix up BatchingQueue (#10078) 2021-05-27 14:32:31 +01:00
__init__.py 1.35.0rc2 2021-05-27 14:46:24 +01:00
event_auth.py Improved validation for received requests (#9817) 2021-04-23 19:20:44 +01:00
notifier.py Add debug logging for issue #9533 (#9959) 2021-05-11 11:04:03 +01:00
python_dependencies.py Use ijson to parse the response to /send_join, reducing memory usage. (#9958) 2021-05-20 16:11:48 +01:00
server.py Split multiplart email sending into a dedicated handler (#9977) 2021-05-17 12:33:38 +02:00
types.py Make DomainSpecificString an attrs class (#9875) 2021-04-23 15:46:29 +01:00
visibility.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00