mirror of
https://github.com/zedeus/nitter
synced 2024-11-25 19:19:17 +01:00
Set listMembers max remaining to 500
This commit is contained in:
parent
d683a3365a
commit
c9b451d3ea
@ -37,7 +37,7 @@ proc getPoolJson*(): JsonNode =
|
|||||||
let
|
let
|
||||||
maxReqs =
|
maxReqs =
|
||||||
case api
|
case api
|
||||||
of Api.listBySlug, Api.list, Api.userRestId: 500
|
of Api.listMembers, Api.listBySlug, Api.list, Api.userRestId: 500
|
||||||
of Api.timeline: 187
|
of Api.timeline: 187
|
||||||
else: 180
|
else: 180
|
||||||
reqs = maxReqs - token.apis[api].remaining
|
reqs = maxReqs - token.apis[api].remaining
|
||||||
|
Loading…
Reference in New Issue
Block a user