Skip to content

Commit 5ad0486

Browse files
authored
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

Lines changed: 2 additions & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy