dendrite/federationapi/consumers
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
..
keychange.go Don't get blacklisted hosts when querying joined servers (#2880) 2022-11-15 17:21:16 +00:00
presence.go Don't get blacklisted hosts when querying joined servers (#2880) 2022-11-15 17:21:16 +00:00
receipts.go Update federation API consumers 2022-10-26 14:52:33 +01:00
roomserver.go /sync performance optimizations (#2927) 2023-01-17 10:08:23 +01:00
roomserver_test.go Merge federationapi, federationsender, signingkeyserver components (#2055) 2021-11-24 10:45:23 +00:00
sendtodevice.go Update federation API consumers 2022-10-26 14:52:33 +01:00
typing.go Update federation API consumers 2022-10-26 14:52:33 +01:00