summary refs log tree commit diff
path: root/changelog.d
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2020-11-13 11:29:18 +0000
committerGitHub <noreply@github.com>2020-11-13 11:29:18 +0000
commit4cb00d297f2afa5ae80c51a3fd761e0eea79c6b3 (patch)
tree7216c2eb943c4e91ebe8ba7da3849f7373c611fd /changelog.d
parentEnable reconnection in DB pool (#8726) (diff)
downloadsynapse-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 'changelog.d')
-rw-r--r--changelog.d/8752.misc1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/8752.misc b/changelog.d/8752.misc
new file mode 100644
index 0000000000..eac92e9d1d
--- /dev/null
+++ b/changelog.d/8752.misc
@@ -0,0 +1 @@
+Speed up repeated state resolutions on the same room by caching event ID to auth event ID lookups.