mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-06 08:24:11 -04:00
Speed up lazy loading (#3827)
* speed up room summaries by pulling their data from room_memberships rather than room state * disable LL for incr syncs, and log incr sync stats (#3840)
This commit is contained in:
parent
037a06e8f0
commit
b041115415
5 changed files with 159 additions and 30 deletions
|
@ -929,6 +929,10 @@ class EventsStore(EventFederationStore, EventsWorkerStore, BackgroundUpdateStore
|
|||
txn, self.get_users_in_room, (room_id,)
|
||||
)
|
||||
|
||||
self._invalidate_cache_and_stream(
|
||||
txn, self.get_room_summary, (room_id,)
|
||||
)
|
||||
|
||||
self._invalidate_cache_and_stream(
|
||||
txn, self.get_current_state_ids, (room_id,)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue