summary refs log tree commit diff
path: root/tests/storage/databases (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add a distributed lock (#10269)Erik Johnston2021-06-291-0/+100
| | | This adds a simple best effort locking mechanism that works cross workers.
* add a cache to have_seen_event (#9953)Richard van der Hoff2021-06-013-0/+122
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.