Skip to content

Commit

Permalink
fix: define retry limit is defined in retry config
Browse files Browse the repository at this point in the history
  • Loading branch information
dhensby committed Sep 8, 2023
1 parent e589ae3 commit 1e3f1b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/definitions/retry.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ export const RETRY_CONF = {
// By default, Octokit does not retry on 404s.
// But we want to retry on 404s to account for replication lag.
doNotRetry: [400, 401, 403, 422],
retries: 3,
};

0 comments on commit 1e3f1b4

Please sign in to comment.