debian-forge/sources
Tom Gundersen e175529f7c sources/curl: don't limit total download time
Some RPMs might be very large, and limiting the total download time
might lead to failed build even in cases where downloading is making
progress. Instead, set a minimum download speed (1kbps). If the
minimum is not surpassed for 30 seconds in a row, the download fails
and is retried. This follows the logic employed by DNF.

Adjust the number of retries to 10 and the connection timeout to 30,
in order to match what DNF does. One difference is that DNF does 10
retries across all downloads, whereas we do it per download, this
could be changed in a follow-up.

Old:
 - a download taking more than 5 minutes is unconditionally aborted

New:
 - slow but working downloads will never be aborted
 - downloads will be stalled for at most five minutes
   in total before being aborted
 - time spent making progress does not count towards
   the five minutes

Signed-off-by: Tom Gundersen <teg@jklm.no>
2022-03-16 14:48:03 +01:00
..
org.osbuild.curl sources/curl: don't limit total download time 2022-03-16 14:48:03 +01:00
org.osbuild.inline sources: port to host services 2021-09-22 00:00:20 +02:00
org.osbuild.ostree sources: port to host services 2021-09-22 00:00:20 +02:00
org.osbuild.skopeo Add support for installing containers in images 2022-02-10 14:43:17 +01:00