diff options
author | Erik Johnston <erik@matrix.org> | 2018-06-01 11:54:24 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-06-01 11:54:24 +0100 |
commit | 58aadd3dd4fc55899d049e41e789d2828dff668b (patch) | |
tree | 0921f108f0ec760ebe3993f0649f68ca6ee01c9c | |
parent | Use *row (diff) | |
download | synapse-58aadd3dd4fc55899d049e41e789d2828dff668b.tar.xz |
Remove spurious break
-rw-r--r-- | synapse/storage/stream.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/synapse/storage/stream.py b/synapse/storage/stream.py index b3492d9109..5062bf4e47 100644 --- a/synapse/storage/stream.py +++ b/synapse/storage/stream.py @@ -826,9 +826,6 @@ class StreamWorkerStore(EventsWorkerStore, SQLBaseStore): txn.execute(sql, args) new_rows = [_EventDictReturn(*row) for row in txn] - if not new_rows: - break - rows.extend(new_rows) if limit > 0: |