Fix tweetDetail stats

This commit is contained in:
Zed 2023-08-22 04:45:49 +02:00
parent 8df5256c1d
commit 45808361af
1 changed files with 2 additions and 2 deletions

View File

@ -52,10 +52,10 @@ proc getPoolJson*(): JsonNode =
maxReqs = maxReqs =
case api case api
of Api.search: 50 of Api.search: 50
of Api.tweetDetail: 150
of Api.photoRail: 180 of Api.photoRail: 180
of Api.userTweets, Api.userTweetsAndReplies, Api.userMedia, of Api.userTweets, Api.userTweetsAndReplies, Api.userMedia,
Api.userRestId, Api.userScreenName, Api.tweetResult, Api.userRestId, Api.userScreenName,
Api.tweetResult, Api.tweetDetail,
Api.list, Api.listTweets, Api.listMembers, Api.listBySlug: 500 Api.list, Api.listTweets, Api.listMembers, Api.listBySlug: 500
of Api.userSearch: 900 of Api.userSearch: 900
reqs = maxReqs - apiStatus.remaining reqs = maxReqs - apiStatus.remaining