Skip to content
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

feat: Add Octokit Throttling to handle github rate limit/request throttling #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jeffhubLR
Copy link
Owner

Reimplementation for this upstream issue:
peter-evans#855

Instead of using Octokit/plugin-retry.js which is a general-purpose retry plugin, use Octokit/plugin-throttling.js which is purpose-built to implement Github's recommended request throttling.

Use the latest version of Octokit/plugin-throttling.js which incorporates this fix: octokit/plugin-throttling.js#437

@github-actions
Copy link

github-actions bot commented Nov 3, 2021

Full test suite slash command (repository admin only)

/test repository=jeffhubLR/create-pull-request ref=octokit-throttling build=true

@jeffhubLR
Copy link
Owner Author

/test repository=jeffhubLR/create-pull-request ref=octokit-throttling build=true

1 similar comment
@jeffhubLR
Copy link
Owner Author

/test repository=jeffhubLR/create-pull-request ref=octokit-throttling build=true

@jeffhubLR jeffhubLR force-pushed the octokit-throttling branch 4 times, most recently from 75141f4 to 3fbfe0e Compare November 5, 2021 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Abuse rate limitation needs an update
1 participant