dendrite/syncapi/streams
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
..
stream_accountdata.go Remove empty fields from /sync response (#2755) 2022-10-05 13:47:13 +01:00
stream_devicelist.go Modify sync transaction behaviour (#2758) 2022-10-03 11:38:20 +01:00
stream_invite.go Fix issue where a member is forced to leave a room when the invite is marked deleted (#2839) 2022-11-02 10:02:23 +00:00
stream_notificationdata.go Always add UnreadNotifications to joined room reponses (#2793) 2022-10-14 10:38:12 +02:00
stream_pdu.go /sync performance optimizations (#2927) 2023-01-17 10:08:23 +01:00
stream_presence.go Fix newly joined users presence (#2854) 2022-12-08 08:25:03 +01:00
stream_receipt.go Fix m.receipts causing notifications (#2893) 2022-11-29 15:46:28 +01:00
stream_sendtodevice.go Modify sync transaction behaviour (#2758) 2022-10-03 11:38:20 +01:00
stream_typing.go Remove empty fields from /sync response (#2755) 2022-10-05 13:47:13 +01:00
streamprovider.go Transactional isolation for /sync (#2745) 2022-09-30 12:48:10 +01:00
streams.go Fix broken /sync due to transaction error 2022-09-30 16:07:18 +01:00
template_stream.go Transactional isolation for /sync (#2745) 2022-09-30 12:48:10 +01:00