mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-15 06:13:52 +01:00
Actually use MAX_STREAM_SIZE constant.
This commit is contained in:
parent
8d1f763209
commit
86be66c34e
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ class StreamStore(SQLBaseStore):
|
||||||
if limit:
|
if limit:
|
||||||
limit = max(limit, MAX_STREAM_SIZE)
|
limit = max(limit, MAX_STREAM_SIZE)
|
||||||
else:
|
else:
|
||||||
limit = 1000
|
limit = MAX_STREAM_SIZE
|
||||||
|
|
||||||
# From and to keys should be integers from ordering.
|
# From and to keys should be integers from ordering.
|
||||||
from_key = int(from_key)
|
from_key = int(from_key)
|
||||||
|
|
Loading…
Reference in a new issue