Skip to content

v2.0.2: retry once when rate-limited

Choose a tag to compare

@schmidtfx schmidtfx released this 09 Nov 08:22
· 3 commits to main since this release

When Affectra refuses an upload with 429 Too Many Requests (API rate limits, affectra/affectra ADR 0018), the action waits the Retry-After seconds (30 if missing, no wait above 300) and retries once; if it's still refused, it fails with the error's detail and code (#8). Connection errors and 5xx answers are retried as before. Inputs and requests are unchanged.