diff options
author | Erik Johnston <erik@matrix.org> | 2021-05-20 16:25:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-20 16:25:11 +0100 |
commit | 1c6a19002cb56cf93bc920854c81ae88bd7308ac (patch) | |
tree | 761bb5b4d6b93f910f7d67f16cb37a04d6d4e371 /changelog.d/10018.misc | |
parent | Use ijson to parse the response to `/send_join`, reducing memory usage. (#9958) (diff) | |
download | synapse-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.misc | 1 |
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. |