From db9f24ec0d11a135d496eeb5bb81fdd3c1186544 Mon Sep 17 00:00:00 2001 From: John Akre Date: Fri, 25 Jan 2019 20:37:24 +0000 Subject: [PATCH] Increase Clear repo default timeout Since the default Clear repo mirror changed to the cdn, dnf timeouts occur more frequently. Increasing the timeout to 45 seconds from the default timeout of 30 seconds. Signed-off-by: John Akre --- bat/lib/mixerlib.bash | 1 + builder/repo_control.go | 1 + 2 files changed, 2 insertions(+) diff --git a/bat/lib/mixerlib.bash b/bat/lib/mixerlib.bash index 4b4f797..20e7bb0 100755 --- a/bat/lib/mixerlib.bash +++ b/bat/lib/mixerlib.bash @@ -143,6 +143,7 @@ failovermethod=priority baseurl=https://cdn.download.clearlinux.org/releases/\$releasever/clear/x86_64/os/ enabled=1 gpgcheck=0 +timeout=45 EOF } diff --git a/builder/repo_control.go b/builder/repo_control.go index 8ed3580..f7c01db 100644 --- a/builder/repo_control.go +++ b/builder/repo_control.go @@ -69,6 +69,7 @@ failovermethod=priority baseurl={{.UpstreamURL}}/releases/$releasever/clear/x86_64/os/ enabled=1 gpgcheck=0 +timeout=45 {{end}}{{if .Local}} [local] name=Local