Retry when service is 503 (tempoarily) unavailable
Nobody has claimed this yet.
- Dominant language
- Clojure
- Stars
- 1.8k
- Forks
- 410
- PR merge metrics
- No merged PRs in 30d
Description
Retries work well with IOExceptions (like timeouts). 👍
I had assumed that retries would also be applied, when a service is reported (temporarily) unavailable like 502, 503 & 504
When reading about the Apache HttpClient, it seems a ServiceUnavailableRetryStrategy exists for the cases mentioned above.
Is it on purpose this is left out of clj-http?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no file, test, or entry point. Begin by reviewing clj-http's Apache HttpClient integration and the ServiceUnavailableRetryStrategy documentation for 502, 503, and 504 responses; done means determining whether these responses should be retried and documenting or implementing the project's decision.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100