-
- Downloads
Optimise `_get_state_after_missing_prev_event`: use `/state` (#12040)
If we're missing most of the events in the room state, then we may as well call the /state endpoint, instead of individually requesting each and every event.
Showing
- changelog.d/12040.feature 1 addition, 0 deletionschangelog.d/12040.feature
- synapse/handlers/federation_event.py 39 additions, 4 deletionssynapse/handlers/federation_event.py
- synapse/storage/databases/main/events_worker.py 3 additions, 5 deletionssynapse/storage/databases/main/events_worker.py
- tests/handlers/test_federation_event.py 225 additions, 0 deletionstests/handlers/test_federation_event.py
Loading
Please register or sign in to comment