summary refs log tree commit diff
path: root/synapse/storage/stream.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-08-15 16:04:54 +0100
committerErik Johnston <erik@matrix.org>2014-08-15 16:04:54 +0100
commit86be66c34e3d9d3f6b8e6a40ed239f4803550e55 (patch)
tree3e68752415b9d386bcb7575740c7be16b98faec8 /synapse/storage/stream.py
parentFix pagination to work with new db schema (diff)
downloadsynapse-86be66c34e3d9d3f6b8e6a40ed239f4803550e55.tar.xz
Actually use MAX_STREAM_SIZE constant.
Diffstat (limited to 'synapse/storage/stream.py')
-rw-r--r--synapse/storage/stream.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/stream.py b/synapse/storage/stream.py
index 6bfa00d59a..47f05a41bd 100644
--- a/synapse/storage/stream.py
+++ b/synapse/storage/stream.py
@@ -51,7 +51,7 @@ class StreamStore(SQLBaseStore):
         if limit:
             limit = max(limit, MAX_STREAM_SIZE)
         else:
-            limit = 1000
+            limit = MAX_STREAM_SIZE
 
         # From and to keys should be integers from ordering.
         from_key = int(from_key)