Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add a cache to have_seen_event (#9953) | Richard van der Hoff | 2021-06-01 | 1 | -1/+0 |
| | | | 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. | ||||
* | Combine `LruCache.invalidate` and `invalidate_many` (#9973) | Richard van der Hoff | 2021-05-27 | 1 | -0/+1 |
* Make `invalidate` and `invalidate_many` do the same thing ... so that we can do either over the invalidation replication stream, and also because they always confused me a bit. * Kill off `invalidate_many` * changelog |