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 /tests/util | |
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 'tests/util')
0 files changed, 0 insertions, 0 deletions