summary refs log tree commit diff
path: root/changelog.d/10018.misc
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2021-05-20 16:25:11 +0100
committerGitHub <noreply@github.com>2021-05-20 16:25:11 +0100
commit1c6a19002cb56cf93bc920854c81ae88bd7308ac (patch)
tree761bb5b4d6b93f910f7d67f16cb37a04d6d4e371 /changelog.d/10018.misc
parentUse ijson to parse the response to `/send_join`, reducing memory usage. (#9958) (diff)
downloadsynapse-1c6a19002cb56cf93bc920854c81ae88bd7308ac.tar.xz
Add `Keyring.verify_events_for_server` and reduce memory usage (#10018)
Also add support for giving a callback to generate the JSON object to
verify. This should reduce memory usage, as we no longer have the event
in memory in dict form (which has a large memory footprint) for extend
periods of time.
Diffstat (limited to 'changelog.d/10018.misc')
-rw-r--r--changelog.d/10018.misc1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/10018.misc b/changelog.d/10018.misc
new file mode 100644
index 0000000000..eaf9f64867
--- /dev/null
+++ b/changelog.d/10018.misc
@@ -0,0 +1 @@
+Reduce memory usage when verifying signatures on large numbers of events at once.