Financial-Times / nori

🍙 exploratory command-line tool to make changes across multiple repositories & track their progress
MIT License
11 stars 0 forks source link

Rate limit PR creation #149

Closed ivomurrell closed 2 years ago

ivomurrell commented 3 years ago

After creating 21 PRs in a row the 22nd PR returned an HTTP error for me:

You have triggered an abuse detection mechanism and have been temporarily blocked from content creation. Please retry your request again later.

(The rest of the PRs were created without issue.)

We should add some rate limiting to calls to the GitHub API so we avoid sporadically getting this error.

serena97 commented 2 years ago

Have opened https://github.com/Financial-Times/nori/pull/164 for this - it differs to 819922a as the PR's change will allow for retries to handle the creation of the subsequent PRs