diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2020-05-07 13:57:11 +0100 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2020-05-07 13:57:11 +0100 |
commit | 98a6910d940a7586a7fa6676cc25ec9d9d7b393f (patch) | |
tree | c17c15ddbfe0f15d38e3dfd618f32410f1da4240 | |
parent | undo more dbkr (diff) | |
download | synapse-98a6910d940a7586a7fa6676cc25ec9d9d7b393f.tar.xz |
Cache debugging
-rw-r--r-- | synapse/storage/data_stores/main/roommember.py | 1 |
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 ) |