summary refs log tree commit diff
path: root/synapse/storage/_base.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-05-13 17:02:46 +0100
committerErik Johnston <erik@matrix.org>2015-05-13 17:02:46 +0100
commit968b01a91a759e4137dbbd5e2537abefe3b1ccbe (patch)
tree8281d18e373863e249215118b81ccbea0e62e944 /synapse/storage/_base.py
parentFetch events from events_id in their own transactions (diff)
downloadsynapse-968b01a91a759e4137dbbd5e2537abefe3b1ccbe.tar.xz
Actually use async method
Diffstat (limited to 'synapse/storage/_base.py')
-rw-r--r--synapse/storage/_base.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py
index f6c1ec424a..0ba12d48a5 100644
--- a/synapse/storage/_base.py
+++ b/synapse/storage/_base.py
@@ -873,9 +873,7 @@ class SQLBaseStore(object):
         N = 50  # Only fetch 100 events at a time.
 
         ds = [
-            self.runInteraction(
-                desc,
-                self._fetch_events_txn,
+            self._fetch_events(
                 event_ids[i*N:(i+1)*N],
                 check_redacted=check_redacted,
                 get_prev_content=get_prev_content,