0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-01 10:18:54 +02:00

Actually use MAX_STREAM_SIZE constant.

This commit is contained in:
Erik Johnston 2014-08-15 16:04:54 +01:00
parent 8d1f763209
commit 86be66c34e

View file

@ -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)