diff options
author | Erik Johnston <erik@matrix.org> | 2021-05-20 16:11:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-20 16:11:48 +0100 |
commit | 64887f06fcac63e069364d625d984b4951bf1ffc (patch) | |
tree | eabd30c1ad56d057667271573d3bfc96276d11bd /changelog.d | |
parent | Allow a user who could join a restricted room to see it in spaces summary. (#... (diff) | |
download | synapse-64887f06fcac63e069364d625d984b4951bf1ffc.tar.xz |
Use ijson to parse the response to `/send_join`, reducing memory usage. (#9958)
Instead of parsing the full response to `/send_join` into Python objects (which can be huge for large rooms) and *then* parsing that into events, we instead use ijson to stream parse the response directly into `EventBase` objects.
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/9958.feature | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/9958.feature b/changelog.d/9958.feature new file mode 100644 index 0000000000..d86ba36519 --- /dev/null +++ b/changelog.d/9958.feature @@ -0,0 +1 @@ +Reduce memory usage when joining very large rooms over federation. |