Skip to content

feat!: max concurrency replaces rate-limit tiers (0.84.0, SCR-736) - #112

Merged
0xGhostCasper merged 1 commit into
mainfrom
kasparasizi1/scr-736-max-concurrency
Nov 29, 2026
Merged

0xGhostCasper merged 1 commit into
mainfrom
kasparasizi1/scr-736-max-concurrency

Conversation

@0xGhostCasper

Copy link
Copy Markdown
Member

Linear: SCR-736 · backend: https://github.com/scrape-badger/scrapebadger/pull/3612

  • RateLimitError keeps its name (59 Apify actors catch it). It now has max_concurrency, concurrent_requests and retry_after (seconds). limit, remaining, reset_at and tier are removed.
  • A concurrency 429 is retried automatically: it is refused before it runs and is never billed. The backoff is Retry-After, then 2/4/8 s, capped at 10 s. Other 429s (e.g. zero-credit) still raise at once.
  • X-RateLimit pagination throttling is removed; the API no longer sends those headers.
  • README: a Concurrency section (no per-plan numbers). CHANGELOG has a Breaking section.
  • ruff, format, mypy and pytest (1027) pass. Nothing else is unreleased on main since v0.83.1.

Release after the backend deploys (GitHub release → PyPI).

🤖 Generated with Claude Code

RateLimitError keeps its name and now carries max_concurrency,
concurrent_requests and retry_after (seconds); limit/remaining/reset_at/tier
are gone. A concurrency 429 (refused before it runs, never billed) is retried
automatically with a capped backoff. X-RateLimit pagination throttling is
removed: the API no longer sends those headers. README gets a Concurrency
section.

Linear: SCR-736

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Nov 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@0xGhostCasper
0xGhostCasper merged commit b81c6f6 into main Nov 29, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants