diff options
author | Erik Johnston <erik@matrix.org> | 2020-11-13 11:29:18 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-13 11:29:18 +0000 |
commit | 4cb00d297f2afa5ae80c51a3fd761e0eea79c6b3 (patch) | |
tree | 7216c2eb943c4e91ebe8ba7da3849f7373c611fd /mypy.ini | |
parent | Enable reconnection in DB pool (#8726) (diff) | |
download | synapse-4cb00d297f2afa5ae80c51a3fd761e0eea79c6b3.tar.xz |
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.
Diffstat (limited to 'mypy.ini')
0 files changed, 0 insertions, 0 deletions