Przeglądaj źródła

Search isn't rate limited

Zed 3 lat temu
rodzic
commit
72d8f35cd1
1 zmienionych plików z 2 dodań i 1 usunięć
  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,