Skip to content

Commit

Permalink
Fix tweetDetail stats
Browse files Browse the repository at this point in the history
  • Loading branch information
zedeus committed Aug 22, 2023
1 parent 8df5256 commit 4580836
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tokens.nim
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ proc getPoolJson*(): JsonNode =
maxReqs =
case api
of Api.search: 50
of Api.tweetDetail: 150
of Api.photoRail: 180
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
of Api.userSearch: 900
reqs = maxReqs - apiStatus.remaining
Expand Down

0 comments on commit 4580836

Please sign in to comment.