Richard van der Hoff
b4b2fd2ece
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.
2021-06-01 12:04:47 +01:00
..
2021-05-21 17:57:08 +01:00
2021-04-14 15:34:27 +01:00
2021-04-14 15:34:27 +01:00
2021-06-01 12:04:47 +01:00
2021-04-14 15:34:27 +01:00
2021-05-24 14:02:01 +01:00
2021-05-11 11:04:03 +01:00
2021-05-27 10:33:56 +01:00
2021-04-14 15:34:27 +01:00
2021-04-14 15:34:27 +01:00
2021-05-14 11:12:36 +01:00
2021-04-22 16:43:50 +01:00
2021-05-27 10:33:56 +01:00
2021-04-14 15:34:27 +01:00
2021-04-14 15:34:27 +01:00
2021-06-01 12:04:47 +01:00
2021-05-27 10:33:56 +01:00
2021-04-14 15:34:27 +01:00
2021-04-14 15:34:27 +01:00
2021-05-24 15:32:01 -04:00
2021-05-26 11:19:47 +01:00
2021-04-14 15:34:27 +01:00
2021-04-14 15:34:27 +01:00
2020-09-01 08:39:04 -04:00
2021-05-21 12:02:06 +01:00
2021-04-14 15:34:27 +01:00
2021-06-01 12:04:47 +01:00
2021-04-14 15:34:27 +01:00
2021-04-14 15:34:27 +01:00
2021-05-27 10:33:56 +01:00
2021-05-14 10:59:10 +01:00
2021-04-14 15:34:27 +01:00
2021-04-14 15:34:27 +01:00
2021-05-27 18:42:23 +01:00
2021-05-05 16:49:34 +01:00
2021-04-22 16:43:50 +01:00
2021-04-14 15:34:27 +01:00
2021-04-14 15:34:27 +01:00
2021-04-14 15:34:27 +01:00
2021-04-14 15:34:27 +01:00
2021-04-22 16:43:50 +01:00
2021-04-14 15:34:27 +01:00
2021-05-21 17:57:08 +01:00
2021-04-14 15:34:27 +01:00
2021-05-05 16:49:34 +01:00
2021-05-14 11:12:36 +01:00