mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:56:06 -04:00
Remove 'limit' param from get_repl_stream_updates
API
there doesn't seem to be much point in passing this limit all around, since both sides agree it's meant to be 100.
This commit is contained in:
parent
2e3b9a0fcb
commit
23b28266ac
2 changed files with 8 additions and 9 deletions
|
@ -193,10 +193,7 @@ def make_http_update_function(hs, stream_name: str) -> UpdateFunction:
|
|||
from_token: int, upto_token: int, limit: int
|
||||
) -> StreamUpdateResult:
|
||||
result = await client(
|
||||
stream_name=stream_name,
|
||||
from_token=from_token,
|
||||
upto_token=upto_token,
|
||||
limit=limit,
|
||||
stream_name=stream_name, from_token=from_token, upto_token=upto_token,
|
||||
)
|
||||
return result["updates"], result["upto_token"], result["limited"]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue