From 5ad0486de55c2edfb653fde4735e623fab139148 Mon Sep 17 00:00:00 2001 From: Daniel Hensby Date: Sat, 9 Sep 2023 17:56:29 +0100 Subject: [PATCH] fix: define retry limit in retry config (#693) fix: define retry limit is defined in retry config --- lib/definitions/retry.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/definitions/retry.js b/lib/definitions/retry.js index 06d7991b..9b5021c3 100644 --- a/lib/definitions/retry.js +++ b/lib/definitions/retry.js @@ -1,8 +1,9 @@ /** - * Default exponential backoff configuration for retries. + * Default retry config for octokit retry plugin */ 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, };