Retry HTTP requests if they time out
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 210
- Forks
- 36
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 2
Description
The util module contains helper functions for sending HTTP requests. We need to allow a retry option to send the requests n times (default could be 3) when there is a timeout. This will allow handling failures in Macaron analyze action more deterministically.
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
Start in src/macaron/util.py and locate the helper functions that send HTTP requests, then trace how the analyze action calls them. Define how the retry option and its default of three attempts should apply when a request times out; done means timed-out requests retry the configured number of times and analyze handles these failures deterministically.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100