aiolimiter running out of requests #91
Replies: 1 comment
-
Glad you find the library helpful! Bursting is covered in the documentation and is normal, expected functionality. With There isn't really anything we can do on the aiolimiter side, however, so I'll convert this to a discussion post instead. |
Beta Was this translation helpful? Give feedback.
-
I've noticed that if I set the limiter as
AsyncLimiter(180, 60)
, the code will try to send all the requests available without a limit, but then it slows down. However at that point the request speed it chooses still makes the code go over the rate limit.My solution to the problem was to set the rate limiter to
AsyncLimiter(2.9, 1)
.The code somehow still ran out of requests available in the one minute frame when using
3
requests as a parameter. So by sacraficing a bit of performance I was able to get the code run fine. The issue here could have been cause by the server wrongly handling requests on their API.Thanks for making this amazing library, it has been truly helpful. ❤️
Beta Was this translation helpful? Give feedback.
All reactions