summary refs log tree commit diff
path: root/tests/storage/databases (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Improve event caching code (#10119)Erik Johnston2021-08-041-0/+50
| | | | Ensure we only load an event from the DB once when the same event is requested multiple times at once.
* Fix dropping locks on shut down (#10433)Erik Johnston2021-07-201-0/+13
|
* 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.