mirror of
https://github.com/matrix-org/synapse.git
synced 2025-10-01 10:31:45 +02:00
Empirically, this helped my server considerably when handling gaps in Matrix HQ. The problem was that we would repeatedly call have_seen_events for the same set of (50K or so) auth_events, each of which would take many minutes to complete, even though it's only an index scan.