Skip to content

Commit

Permalink
fix: bump minimal retry in case of secondary rate limiting to 60s
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed May 15, 2023
1 parent 1678135 commit 0994735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export function throttling(octokit: Octokit, octokitOptions: OctokitOptions) {
{
clustering: connection != null,
triggersNotification,
minimumSecondaryRateRetryAfter: 5,
minimumSecondaryRateRetryAfter: 60,
retryAfterBaseValue: 1000,
retryLimiter: new Bottleneck(),
id,
Expand Down

0 comments on commit 0994735

Please sign in to comment.