mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:56:06 -04:00
Add caches for things requested by the pushers
This commit is contained in:
parent
d61ce3f670
commit
53447e9cd3
7 changed files with 45 additions and 34 deletions
|
@ -531,9 +531,7 @@ class RoomListHandler(BaseHandler):
|
|||
chunk = yield self.store.get_rooms(is_public=True)
|
||||
results = yield defer.gatherResults(
|
||||
[
|
||||
self.store.get_users_in_room(
|
||||
room_id=room["room_id"],
|
||||
)
|
||||
self.store.get_users_in_room(room["room_id"])
|
||||
for room in chunk
|
||||
],
|
||||
consumeErrors=True,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue