Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http.get does not support exponential backoff on retries #415

Closed
westonsteimel opened this issue Dec 7, 2023 · 0 comments · Fixed by #418
Closed

http.get does not support exponential backoff on retries #415

westonsteimel opened this issue Dec 7, 2023 · 0 comments · Fixed by #418
Assignees
Labels
bug Something isn't working

Comments

@westonsteimel
Copy link
Contributor

What happened:

retry_with_backoff did an exponential backoff on retries, but the newer https://github.com/anchore/vunnel/blob/main/src/vunnel/utils/http.py#L11 just does a static wait between retries. The exponential backoff is important for providers like NVD

What you expected to happen:

http.get supports an exponential backoff and does it by default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants