Bläddra i källkod

Search isn't rate limited

Zed 3 år sedan
förälder
incheckning
72d8f35cd1
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2 1
      src/tokens.nim

+ 2 - 1
src/tokens.nim

@@ -41,7 +41,8 @@ proc getPoolJson*(): JsonNode =
       let
         maxReqs =
           case api
-          of Api.photoRail, Api.search: 180
+          of Api.search: 100000
+          of Api.photoRail: 180
           of Api.timeline: 187
           of Api.userTweets: 300
           of Api.userTweetsAndReplies, Api.userRestId,