changed 429 failover from 3 consecutive to 2 for OAuth users (#1579)

This commit is contained in:
Bryan Morgan
2025-06-25 15:37:23 -04:00
committed by GitHub
parent 4b5ca6bc77
commit eacbb3551c
3 changed files with 8 additions and 9 deletions

View File

@@ -426,7 +426,7 @@ describe('retryWithBackoff', () => {
await expect(promise).resolves.toBe('success');
// Should trigger fallback after 4 consecutive 429s (attempts 2-5)
// Should trigger fallback after 2 consecutive 429s (attempts 2-3)
expect(fallbackCallback).toHaveBeenCalledWith('oauth-personal');
});
});