1
0

Remove spurious conditional

This commit is contained in:
Erik Johnston
2018-06-01 11:55:08 +01:00
parent 58aadd3dd4
commit c33810d9cc
+2 -2
View File
@@ -828,8 +828,8 @@ class StreamWorkerStore(EventsWorkerStore, SQLBaseStore):
rows.extend(new_rows)
if limit > 0:
rows = rows[:limit]
# We may have inserted more rows than necessary in the loop above
rows = rows[:limit]
if rows:
chunk = rows[-1].chunk_id