mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-22 18:45:31 +00:00
Set listMembers max remaining to 500
This commit is contained in:
parent
d683a3365a
commit
c9b451d3ea
|
@ -37,7 +37,7 @@ proc getPoolJson*(): JsonNode =
|
|||
let
|
||||
maxReqs =
|
||||
case api
|
||||
of Api.listBySlug, Api.list, Api.userRestId: 500
|
||||
of Api.listMembers, Api.listBySlug, Api.list, Api.userRestId: 500
|
||||
of Api.timeline: 187
|
||||
else: 180
|
||||
reqs = maxReqs - token.apis[api].remaining
|
||||
|
|
Loading…
Reference in a new issue