diff options
Diffstat (limited to 'packages/core/src/utils/retry.ts')
| -rw-r--r-- | packages/core/src/utils/retry.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/core/src/utils/retry.ts b/packages/core/src/utils/retry.ts index e0fc4ced..851db0e7 100644 --- a/packages/core/src/utils/retry.ts +++ b/packages/core/src/utils/retry.ts @@ -97,7 +97,7 @@ export async function retryWithBackoff<T>( if (attempt >= maxAttempts || !shouldRetry(error as Error)) { // If we have persistent 429s and a fallback callback for OAuth if ( - consecutive429Count >= 3 && + consecutive429Count >= 2 && onPersistent429 && (authType === AuthType.LOGIN_WITH_GOOGLE_PERSONAL || authType === AuthType.LOGIN_WITH_GOOGLE_ENTERPRISE) |
