MatrixSynapse/synapse/storage
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
..
databases
engines
schema
util
__init__.py
_base.py
background_updates.py
database.py
keys.py
persist_events.py
prepare_database.py
purge_events.py
push_rule.py
relations.py
roommember.py
state.py
types.py