synapse/changelog.d/9958.feature
Erik Johnston 64887f06fc
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.
2021-05-20 16:11:48 +01:00

2 lines
67 B
Gherkin

Reduce memory usage when joining very large rooms over federation.