-
Notifications
You must be signed in to change notification settings - Fork 952
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
Add rate limiting to the XMLRPC Api #4321
Comments
Added in #4553. |
Can we increase this limit a little bit? pip's test suite seems to be hitting this limit in CI, which has broken all our CI pipelines and is blocking all PR merges. :( eg:
/cc @ewdurbin @brainwane |
@pradyunsg We recently reduced the limit because the API was being abused and exhausting PyPI's backend resources. The current limit is 2 per second / 30 per minute, so depending on how pip uses the XML-RPC APIs, you could add a delay to the affected tests. |
Coolieo. pypa/pip#9051 should make it possible to work around those. FWIW, I'm a +1 on giving a farewell to the |
Currently whenever we get a big burst of XMLRPC requests, our service can start timing out and raising 5xx errors. We should introduce rate limiting in the XMLRPC API in order to force clients to slow their roll and not hammer us too hard.
The text was updated successfully, but these errors were encountered: