summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-06-01 11:54:24 +0100
committerErik Johnston <erik@matrix.org>2018-06-01 11:54:24 +0100
commit58aadd3dd4fc55899d049e41e789d2828dff668b (patch)
tree0921f108f0ec760ebe3993f0649f68ca6ee01c9c
parentUse *row (diff)
downloadsynapse-58aadd3dd4fc55899d049e41e789d2828dff668b.tar.xz
Remove spurious break
-rw-r--r--synapse/storage/stream.py3
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: