Skip to content

Commit

Permalink
Use default octokit plugin doNotRetry list
Browse files Browse the repository at this point in the history
  • Loading branch information
dgellow committed Oct 25, 2023
1 parent 301de38 commit 211bd95
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -329,11 +329,6 @@ export class GitHub {
retry: {
retries: options.retries ?? 0,
retryAfter: 3, // 3 seconds
doNotRetry: [
'403', // Used by GitHub when throttling
'429', // Too Many Request
'404', // Not Found
],
},
throttle: {
enabled: throttlingRetries > 0,
Expand Down

0 comments on commit 211bd95

Please sign in to comment.