0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-09-10 21:21:51 +02:00
dendrite/syncapi/routing
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
..
context.go Don't limit "state" (#2849) 2022-11-02 09:34:19 +00:00
context_test.go Return state on calls to /message and lazy load members (#2218) 2022-03-01 14:39:56 +00:00
filter.go Do not use ioutil as it is deprecated (#2625) 2022-08-05 10:26:59 +01:00
getevent.go Move /event to the SyncAPI (#2782) 2022-10-10 12:19:16 +02:00
memberships.go /sync performance optimizations (#2927) 2023-01-17 10:08:23 +01:00
messages.go /sync performance optimizations (#2927) 2023-01-17 10:08:23 +01:00
relations.go Event relations (#2790) 2022-10-13 14:50:52 +01:00
routing.go Deny guest access on several endpoints (#2873) 2022-11-11 10:52:08 +01:00
search.go Don't limit "state" (#2849) 2022-11-02 09:34:19 +00:00