summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-05-23 11:37:25 +0100
committerErik Johnston <erik@matrix.org>2018-05-31 10:18:40 +0100
commitaadcb6298d0b5d00704a8745d6a7c87eaaabd0be (patch)
tree8f682f27db1b062d3decd62d74e7fefe3043f025
parentFix backfill (diff)
downloadsynapse-aadcb6298d0b5d00704a8745d6a7c87eaaabd0be.tar.xz
Fix non integer limit
-rw-r--r--synapse/storage/stream.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/storage/stream.py b/synapse/storage/stream.py

index 65919ac7be..d048dd9579 100644 --- a/synapse/storage/stream.py +++ b/synapse/storage/stream.py
@@ -757,7 +757,8 @@ class StreamWorkerStore(EventsWorkerStore, SQLBaseStore): bounds += " AND " + filter_clause args.extend(filter_args) - args.append(int(limit)) + limit = int(limit) + args.append(limit) sql = ( "SELECT event_id, chunk_id, topological_ordering, stream_ordering"