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

Fix rate limiting in CI build #463

Merged
merged 1 commit into from
Jul 30, 2024
Merged

Fix rate limiting in CI build #463

merged 1 commit into from
Jul 30, 2024

Conversation

Acconut
Copy link
Member

@Acconut Acconut commented Jul 30, 2024

CI is failing due to rate limits:

SecondaryRateLimit detected for request GET https://api.github.com/repositories/8825137/issues/comments?per_page=100&sort=created&direction=desc&page=30
 error   You have exceeded a secondary rate limit. Please wait a few minutes before you try again. If you reach out to GitHub Support for help, please include the request ID 4000:3A7D64:2C3F768:537C37A:66A81D2A.
  File:
    src/pages/support.mdx
  Stacktrace:
HttpError: You have exceeded a secondary rate limit. Please wait a few minutes before you try again. If you reach out to GitHub Support for help, please include the request ID 4000:3A7D64:2C3F768:537C37A:66A81D2A.
    at /home/runner/work/tus.io/tus.io/node_modules/@octokit/request/dist-node/index.js:112:21
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Job.doExecute (/home/runner/work/tus.io/tus.io/node_modules/bottleneck/light.js:405:18)

This PR is an attempt to fix this by retrying after a certain delay.

@Acconut Acconut marked this pull request as ready for review July 30, 2024 06:38
@Acconut Acconut merged commit dc0045a into main Jul 30, 2024
1 check passed
@Acconut Acconut deleted the rate-limit branch July 30, 2024 06: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.

1 participant