dendrite/syncapi/storage/tables
Till 0d0280cf5f
/sync performance optimizations (#2927)
Since #2849 there is no limit for the current state we fetch to
calculate history visibility. In large rooms this can cause us to fetch
thousands of membership events we don't really care about.
This now only gets the state event types and senders in our timeline,
which should significantly reduce the amount of events we fetch from the
database.

Also removes `MaxTopologicalPosition`, as it is an unnecessary DB call,
given we use the result in `topological_position < $1` calls.
2023-01-17 10:08:23 +01:00
..
current_room_state_test.go Fix fragility of selectEventsWithEventIDsSQL queries (#2757) 2022-10-03 11:57:21 +01:00
interface.go /sync performance optimizations (#2927) 2023-01-17 10:08:23 +01:00
memberships_test.go Fix room summary returning wrong heroes (#2930) 2023-01-12 10:06:03 +01:00
output_room_events_test.go History visibility database changes (#2533) 2022-07-18 14:46:15 +02:00
presence_table_test.go Fix newly joined users presence (#2854) 2022-12-08 08:25:03 +01:00
relations_test.go Event relations (#2790) 2022-10-13 14:50:52 +01:00
topology_test.go bugfix: E2EE device keys could sometimes not be sent to remote servers (#2466) 2022-05-17 13:23:35 +01:00