-
- Downloads
Reduce auth chains fetched during v2 state res. (#6952)
The state res v2 algorithm only cares about the difference between auth chains, so we can pass in the known common state to the `get_auth_chain` storage function so that it can ignore those events.
Showing
- changelog.d/6952.misc 1 addition, 0 deletionschangelog.d/6952.misc
- synapse/state/__init__.py 10 additions, 5 deletionssynapse/state/__init__.py
- synapse/state/v2.py 1 addition, 1 deletionsynapse/state/v2.py
- synapse/storage/data_stores/main/event_federation.py 23 additions, 5 deletionssynapse/storage/data_stores/main/event_federation.py
- tests/state/test_v2.py 4 additions, 2 deletionstests/state/test_v2.py
Loading
Please register or sign in to comment