0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-30 17:04:00 +01:00

Actually use async method

This commit is contained in:
Erik Johnston 2015-05-13 17:02:46 +01:00
parent 4071f29653
commit 968b01a91a

View file

@ -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,