Skip to content
Snippets Groups Projects
Unverified Commit b4b2fd2e authored by Richard van der Hoff's avatar Richard van der Hoff Committed by GitHub
Browse files

add a cache to have_seen_event (#9953)

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.
parent 10e6d2ab
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment