summary refs log tree commit diff
path: root/changelog.d/13730.misc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 1.68.0rc1Olivier Wilkinson (reivilibre)2022-09-201-1/+0
|
* Instrument `get_metadata_for_events` for tracing (#13730)Eric Eastwood2022-09-071-0/+1
When backfilling, `_get_state_ids_after_missing_prev_event` calls [`get_metadata_for_events`](https://github.com/matrix-org/synapse/blob/26bc26586b4b95d63ce7e453e9312469843f796e/synapse/handlers/federation_event.py#L1133). For `#matrix:matrix.org`, it's called with 77k `state_events` which means 77 calls to the database and takes 28 seconds.