summary refs log tree commit diff
path: root/synapse/storage/stream.py
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2014-09-12 13:57:24 +0100
committerPaul "LeoNerd" Evans <paul@matrix.org>2014-09-12 14:28:07 +0100
commite53d77b5017e823506484bbb95964b4d97f3e2a1 (patch)
treee1408272effff81c8c8f87b243ecb64a59b16bc1 /synapse/storage/stream.py
parentAdd a better _store_room_member_txn() method that takes separated fields inst... (diff)
downloadsynapse-e53d77b5017e823506484bbb95964b4d97f3e2a1.tar.xz
Add a .runInteraction() method on SQLBaseStore itself to wrap the .db_pool
Diffstat (limited to 'synapse/storage/stream.py')
-rw-r--r--synapse/storage/stream.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/stream.py b/synapse/storage/stream.py
index aff6dc9855..8c766b8a00 100644
--- a/synapse/storage/stream.py
+++ b/synapse/storage/stream.py
@@ -286,7 +286,7 @@ class StreamStore(SQLBaseStore):
         defer.returnValue(ret)
 
     def get_room_events_max_id(self):
-        return self._db_pool.runInteraction(self._get_room_events_max_id_txn)
+        return self.runInteraction(self._get_room_events_max_id_txn)
 
     def _get_room_events_max_id_txn(self, txn):
         txn.execute(