diff options
author | Erik Johnston <erik@matrix.org> | 2015-05-13 17:02:46 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-05-13 17:02:46 +0100 |
commit | 968b01a91a759e4137dbbd5e2537abefe3b1ccbe (patch) | |
tree | 8281d18e373863e249215118b81ccbea0e62e944 | |
parent | Fetch events from events_id in their own transactions (diff) | |
download | synapse-968b01a91a759e4137dbbd5e2537abefe3b1ccbe.tar.xz |
Actually use async method
-rw-r--r-- | synapse/storage/_base.py | 4 |
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, |