mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-23 10:45:48 +00:00
![Eric Eastwood](/assets/img/avatar_default.png)
When backfilling, `_get_state_ids_after_missing_prev_event` calls [`get_metadata_for_events`](26bc26586b/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.
2 lines
74 B
Plaintext
2 lines
74 B
Plaintext
Instrument `get_metadata_for_events` for understandable traces in Jaeger.
|