mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-02 16:04:38 -07:00
changed 429 failover from 3 consecutive to 2 for OAuth users (#1579)
This commit is contained in:
@@ -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');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user