More logging, make get_users_who_share_room_with_user non-iterable
This commit is contained in:
@@ -1143,6 +1143,7 @@ class SyncHandler(object):
|
||||
# that were in a room we've left.
|
||||
|
||||
logger.info("get_users_who_share_room... called from _generate_sync_entry")
|
||||
logger.info("*Called with %s", user_id)
|
||||
users_who_share_room = await self.store.get_users_who_share_room_with_user(
|
||||
user_id
|
||||
)
|
||||
|
||||
@@ -486,7 +486,7 @@ class RoomMemberWorkerStore(EventsWorkerStore):
|
||||
)
|
||||
return frozenset(r.room_id for r in rooms)
|
||||
|
||||
@cachedInlineCallbacks(max_entries=500000, cache_context=True, iterable=True)
|
||||
@cachedInlineCallbacks(max_entries=500000, cache_context=True)
|
||||
def get_users_who_share_room_with_user(self, user_id, cache_context):
|
||||
"""Returns the set of users who share a room with `user_id`
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user