mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04: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.
|