Set listMembers max remaining to 500
This commit is contained in:
parent
d683a3365a
commit
c9b451d3ea
1 changed files with 1 additions and 1 deletions
|
@ -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