summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-05-07 13:57:11 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2020-05-07 13:57:11 +0100
commit98a6910d940a7586a7fa6676cc25ec9d9d7b393f (patch)
treec17c15ddbfe0f15d38e3dfd618f32410f1da4240
parentundo more dbkr (diff)
downloadsynapse-98a6910d940a7586a7fa6676cc25ec9d9d7b393f.tar.xz
Cache debugging
-rw-r--r--synapse/storage/data_stores/main/roommember.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/data_stores/main/roommember.py b/synapse/storage/data_stores/main/roommember.py
index 15a7bf62e8..2715540f7c 100644
--- a/synapse/storage/data_stores/main/roommember.py
+++ b/synapse/storage/data_stores/main/roommember.py
@@ -490,6 +490,7 @@ class RoomMemberWorkerStore(EventsWorkerStore):
     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`
         """
+        logger.info("Called with %s %s", user_id, cache_context)
         room_ids = yield self.get_rooms_for_user(
             user_id, on_invalidate=cache_context.invalidate
         )