-
- Downloads
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.
Showing
- changelog.d/9958.feature 1 addition, 0 deletionschangelog.d/9958.feature
- mypy.ini 3 additions, 0 deletionsmypy.ini
- synapse/federation/federation_client.py 10 additions, 18 deletionssynapse/federation/federation_client.py
- synapse/federation/transport/client.py 81 additions, 4 deletionssynapse/federation/transport/client.py
- synapse/http/client.py 6 additions, 1 deletionsynapse/http/client.py
- synapse/http/matrixfederationclient.py 125 additions, 35 deletionssynapse/http/matrixfederationclient.py
- synapse/python_dependencies.py 1 addition, 0 deletionssynapse/python_dependencies.py
Loading
Please register or sign in to comment