mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-16 10:17:41 +00:00
Rework HTTP downloader retry logic
Apply retries as global, config-level option `downloadRetries` so that it can be applied to any aptly command which downloads objects. Unwrap `errors.Wrap` which is used in downloader. Unwrap `*url.Error` which should be the actual error returned from the HTTP client, catch more cases, be more specific around failures.
This commit is contained in:
1 parent
2e7f624b34
commit
f0a370db24
22 files changed
+123
-63
No files matched your search
@@ -6,6 +6,6 @@ gpgv: Good signature from "Package Maintainer (PagerDuty, Inc.) <packages@pagerd
|
||||
Downloading & parsing package files...
|
||||
Downloading http://packages.pagerduty.com/pdagent/deb/Packages.gz...
|
||||
Building download queue...
|
||||
Download queue: 15 items (1.87 MiB)
|
||||
Download queue: 16 items (2.08 MiB)
|
||||
|
||||
Mirror `pagerduty` has been successfully updated.
|
||||
@@ -6,6 +6,6 @@ openpgp: Good signature from "Package Maintainer (PagerDuty, Inc.) <packages@pag
|
||||
Downloading & parsing package files...
|
||||
Downloading http://packages.pagerduty.com/pdagent/deb/Packages.gz...
|
||||
Building download queue...
|
||||
Download queue: 15 items (1.87 MiB)
|
||||
Download queue: 16 items (2.08 MiB)
|
||||
|
||||
Mirror `pagerduty` has been successfully updated.
|
||||
Reference in new issue
Block a user