diff --git a/src/utils.ts b/src/utils.ts index 69d47c12..6aa5f178 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -189,16 +189,15 @@ export async function deletePullSecret(teamId: string, name: string): Promise { + const retryOptions: Options = { + retries: 10, + factor: 2, + // minTimeout: The number of milliseconds before starting the first retry. Default is 1000. + minTimeout: 1000, + // The maximum number of milliseconds between two retries. + maxTimeout: 30000, + } try { await retry(async (bail) => { try {