mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-12 21:54:20 -05:00
Actually use async method
This commit is contained in:
parent
4071f29653
commit
968b01a91a
@ -873,9 +873,7 @@ class SQLBaseStore(object):
|
|||||||
N = 50 # Only fetch 100 events at a time.
|
N = 50 # Only fetch 100 events at a time.
|
||||||
|
|
||||||
ds = [
|
ds = [
|
||||||
self.runInteraction(
|
self._fetch_events(
|
||||||
desc,
|
|
||||||
self._fetch_events_txn,
|
|
||||||
event_ids[i*N:(i+1)*N],
|
event_ids[i*N:(i+1)*N],
|
||||||
check_redacted=check_redacted,
|
check_redacted=check_redacted,
|
||||||
get_prev_content=get_prev_content,
|
get_prev_content=get_prev_content,
|
||||||
|
Loading…
Reference in New Issue
Block a user