summary refs log tree commit diff
path: root/synapse/storage/room.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-10-28 11:18:04 +0000
committerErik Johnston <erik@matrix.org>2014-10-28 11:18:04 +0000
commitda1dda3e1d9d3272527d35c23162c4baf7339d74 (patch)
treebf779309495c4b5112325652dc7dedb4226fa3d3 /synapse/storage/room.py
parentClean up LoggingTransaction (diff)
downloadsynapse-da1dda3e1d9d3272527d35c23162c4baf7339d74.tar.xz
Add transaction level logging and timing information. Add a _simple_delete method
Diffstat (limited to 'synapse/storage/room.py')
-rw-r--r--synapse/storage/room.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/storage/room.py b/synapse/storage/room.py
index 8cd46334cf..7e48ce9cc3 100644
--- a/synapse/storage/room.py
+++ b/synapse/storage/room.py
@@ -150,6 +150,7 @@ class RoomStore(SQLBaseStore):
 
     def get_power_level(self, room_id, user_id):
         return self.runInteraction(
+            "get_power_level",
             self._get_power_level,
             room_id, user_id,
         )
@@ -183,6 +184,7 @@ class RoomStore(SQLBaseStore):
 
     def get_ops_levels(self, room_id):
         return self.runInteraction(
+            "get_ops_levels",
             self._get_ops_levels,
             room_id,
         )