mirror of
https://github.com/1f349/dendrite.git
synced 2024-12-23 08:44:11 +00:00
0d0280cf5f
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. |
||
---|---|---|
.. | ||
deltas | ||
account_data_table.go | ||
backwards_extremities_table.go | ||
current_room_state_table.go | ||
filter_table.go | ||
filtering.go | ||
ignores_table.go | ||
invites_table.go | ||
memberships_table.go | ||
notification_data_table.go | ||
output_room_events_table.go | ||
output_room_events_topology_table.go | ||
peeks_table.go | ||
presence_table.go | ||
receipt_table.go | ||
relations_table.go | ||
send_to_device_table.go | ||
syncserver.go |