mirror of
https://github.com/element-hq/synapse
synced 2024-10-05 17:42:42 +00:00
64887f06fc
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.
1 line
67 B
Gherkin
1 line
67 B
Gherkin
Reduce memory usage when joining very large rooms over federation.
|