Add a 10s connection timeout for each file transfer. Also add an increasing max timeout for a given file transfer (30s to 180s). Also increase the retries to 10 and the concurrent threads to 15. Hopefully this should make things a bit more stable in the face of bad mirrors. We were encountering mirrors that would hang either on connect or download at such slow speeds that they might as well have stalled (~1kB in 45s). Follow-up patches will provide a more long-term solution, by allowing the same mirror selection as dnf currently uses. Signed-off-by: Tom Gundersen <teg@jklm.no> |
||
|---|---|---|
| .. | ||
| org.osbuild.dnf | ||
| org.osbuild.files | ||