Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improve event caching code (#10119) | Erik Johnston | 2021-08-04 | 1 | -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 Johnston | 2021-07-20 | 1 | -0/+13 |
| | |||||
* | Add a distributed lock (#10269) | Erik Johnston | 2021-06-29 | 1 | -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 Hoff | 2021-06-01 | 3 | -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. |