Improved retries
We tweaked how Fantasy decides when to retry a failed request.
Fantasy was already checking by:
- 408: Request Timeout
- 409: Conflict
- 429: Too Many Requests
We're now also:
- Using
X-Should-Retryheader if available. - Retrying on any status code >= 500.
Changelog
Fixed
- d9de5db: fix(errors): improve check for when to retry requests (#164) (@andreynering)
Thoughts? Questions? We love hearing from you. Feel free to reach out on X, Discord, Slack, The Fediverse, Bluesky.