summary refs log tree commit diff
path: root/synapse/storage/roommember.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-03-20 15:59:18 +0000
committerErik Johnston <erik@matrix.org>2015-03-20 15:59:18 +0000
commitdc0c989ef43ecfe3b4159e0cf16c50a7f38c1f20 (patch)
tree1ca0cdc43de15f154d3049af20b276398168d311 /synapse/storage/roommember.py
parentStart removing Tables (diff)
downloadsynapse-dc0c989ef43ecfe3b4159e0cf16c50a7f38c1f20.tar.xz
Give sensible names for '_simple_...' transactions
Diffstat (limited to 'synapse/storage/roommember.py')
-rw-r--r--synapse/storage/roommember.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/storage/roommember.py b/synapse/storage/roommember.py
index 65ffb4627f..52c37c76f5 100644
--- a/synapse/storage/roommember.py
+++ b/synapse/storage/roommember.py
@@ -212,7 +212,8 @@ class RoomMemberStore(SQLBaseStore):
         return self._simple_select_onecol(
             "room_hosts",
             {"room_id": room_id},
-            "host"
+            "host",
+            desc="get_joined_hosts_for_room",
         )
 
     def _get_members_by_dict(self, where_dict):