MatrixSynapse/synapse/storage
Erik Johnston 4cb00d297f
Cache event ID to auth event IDs lookups (#8752)
This should hopefully speed up `get_auth_chain_difference` a bit in the case of repeated state res on the same rooms.

`get_auth_chain_difference` does a breadth first walk of the auth graphs by repeatedly looking up events' auth events. Different state resolutions on the same room will end up doing a lot of the same event to auth events lookups, so by caching them we should speed things up in cases of repeated state resolutions on the same room.
2020-11-13 11:29:18 +00:00
..
databases Cache event ID to auth event IDs lookups (#8752) 2020-11-13 11:29:18 +00:00
engines
schema
util
__init__.py
_base.py Replace DeferredCache with LruCache where possible (#8563) 2020-10-19 12:20:29 +01:00
background_updates.py
database.py Enable reconnection in DB pool (#8726) 2020-11-12 14:26:24 +00:00
keys.py
persist_events.py
prepare_database.py
purge_events.py
push_rule.py
relations.py
roommember.py
state.py
types.py Pre-emptively fix synapse.storage.types.Connection for future mypy release (#8577) 2020-10-17 09:51:38 +01:00