This repository has been archived by the owner on Mar 6, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
do not retry on secondary limits (#380)
<!-- This is an auto-generated comment: release notes by openai --> ### Summary by OpenAI **Refactor:** - Replaced `warning` import with a `console.log` statement in `src/octokit.ts`. - Added a condition to check the retry count before logging and returning `true`. - Updated `onSecondaryRateLimit` function to log rate limit information directly. - Removed the `retry` configuration object. > 🎉 Here's to the code that's leaner, not meaner, > To the logs that are clearer, making debugging no fearer. > With each retry counted, and rate limits mounted, > We've refactored and pruned, and a victory is sounded! 🥳 <!-- end of auto-generated comment: release notes by openai -->
- Loading branch information