diff options
author | Erik Johnston <erik@matrix.org> | 2014-08-15 16:04:54 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-08-15 16:04:54 +0100 |
commit | 86be66c34e3d9d3f6b8e6a40ed239f4803550e55 (patch) | |
tree | 3e68752415b9d386bcb7575740c7be16b98faec8 /synapse | |
parent | Fix pagination to work with new db schema (diff) | |
download | synapse-86be66c34e3d9d3f6b8e6a40ed239f4803550e55.tar.xz |
Actually use MAX_STREAM_SIZE constant.
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/storage/stream.py | 2 |
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) |