-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
15 req/s ? #586
15 req/s ? #586
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will only run 1 request at a time and delay between each one. We want to run as many as possible at a time until we hit 15 within a second, then delay it until it won't be over 15/s.
Review please 😔 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will still only request one at a time rather than doing them in parallel
Oh so you didn't mean in a row but really all of them at the "exact" same time ? |
Yes, it should run as many as possible in parallel until it hits the limit and then throttle starting the next request until 1 second has passed since the first request. |
In theory this should be the fix for the rate limit. ref. replugged-org#586
Fixes #524