mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 16:57:46 +00: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