This commit is contained in:
Erik Johnston 2018-06-01 15:05:07 +01:00
parent 1205362f1d
commit f4eb10533e
2 changed files with 2 additions and 2 deletions

View File

@ -1449,7 +1449,7 @@ class EventsStore(EventsWorkerStore):
sibling_events.update(pes)
table = ChunkDBOrderedListStore(
txn, room_id, self.clock,
txn, room_id, self.clock, self.database_engine,
)
# If there is only one previous chunk (and that isn't None), then this

View File

@ -810,7 +810,7 @@ class StreamWorkerStore(EventsWorkerStore, SQLBaseStore):
iterated_chunks = [chunk_id]
table = ChunkDBOrderedListStore(
txn, room_id, self.clock,
txn, room_id, self.clock, self.database_engine,
)
while chunk_id and (limit <= 0 or len(rows) < limit):