-
Notifications
You must be signed in to change notification settings - Fork 97
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
resolver: replace standard http client to go-retryablehttp #76
Conversation
478729b
to
9dcce02
Compare
Codecov Report
@@ Coverage Diff @@
## main #76 +/- ##
==========================================
- Coverage 28.49% 28.42% -0.08%
==========================================
Files 17 17
Lines 1516 1520 +4
==========================================
Hits 432 432
- Misses 1020 1024 +4
Partials 64 64
Continue to review full report at Codecov.
|
9dcce02
to
30288f2
Compare
Could you please help to rebase the PR? |
5bf1264
to
14f02e9
Compare
done |
Thanks for the contribution, how about also replacing all |
14f02e9
to
403e1d5
Compare
Previously, our snapshot will download the image (nydus blob) through the go standard http client, if the http download fails and does not do a retry. Now we retry for defaultRetryMax = 4 times. Fixes: containerd#54 Signed-off-by: zhaoshang <zhaoshangsjtu@linux.alibaba.com>
Signed-off-by: zhaoshang <zhaoshangsjtu@linux.alibaba.com>
Signed-off-by: zhaoshang <zhaoshangsjtu@linux.alibaba.com>
403e1d5
to
438a892
Compare
Previously, our snapshot will download the image through the go standard http
client, if the http download fails and does not do a retry. Now we retry
for defaultRetryMax = 4 times.
Fixes: #54
Signed-off-by: zhaoshang zhaoshangsjtu@linux.alibaba.com