We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ffa220 commit a4381b3Copy full SHA for a4381b3
1 file changed
apps/scraper/rate-limiter.ts
@@ -76,9 +76,8 @@ export function createRateLimiter(config: RateLimiterConfig | number): RateLimit
76
errorCount++;
77
successStreak = 0;
78
79
- // Back off on rate limiting errors (503, 429)
80
- // Note: 403 is fatal (24h IP block) and handled separately
81
- if (status === 503 || status === 429) {
+ // Back off on rate limiting errors (503, 429) and IP blocks (403)
+ if (status === 503 || status === 429 || status === 403) {
82
currentRps = Math.max(minRps, currentRps * backoffFactor);
83
}
84
0 commit comments