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 New Issue