Skip to content

Commit 5ad0486

Browse files
authoredSep 9, 2023
fix: define retry limit in retry config (#693)
fix: define retry limit is defined in retry config
1 parent e589ae3 commit 5ad0486

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎lib/definitions/retry.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
/**
2-
* Default exponential backoff configuration for retries.
2+
* Default retry config for octokit retry plugin
33
*/
44
export const RETRY_CONF = {
55
// By default, Octokit does not retry on 404s.
66
// But we want to retry on 404s to account for replication lag.
77
doNotRetry: [400, 401, 403, 422],
8+
retries: 3,
89
};

0 commit comments

Comments
 (0)
Please sign in to comment.