mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-09-16 12:21:59 +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.
2 lines
67 B
Gherkin
2 lines
67 B
Gherkin
Reduce memory usage when joining very large rooms over federation.
|