diff options
author | elfgoh <elfgoh@yahoo.com> | 2019-02-22 16:36:19 +0800 |
---|---|---|
committer | Chris Akritidis <43294513+cakrit@users.noreply.github.com> | 2019-02-22 09:36:19 +0100 |
commit | 95f6965d99dcd5524a99edd3d4a4caf2a866eebb (patch) | |
tree | 265859ff00b31af056d4902359b4ba70e62e846a /netdata-installer.sh | |
parent | f2ca1ab9b0c9eb154a6de488b3c77a6d2f5cddc7 (diff) |
Increase timeout for download of go.d.plugin (#5468)
Fixes #5467
Diffstat (limited to 'netdata-installer.sh')
-rwxr-xr-x | netdata-installer.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh index 080570c870..7b9e3a3e01 100755 --- a/netdata-installer.sh +++ b/netdata-installer.sh @@ -44,7 +44,7 @@ download() { url="${1}" dest="${2}" if command -v curl >/dev/null 2>&1; then - run curl -L --connect-timeout 5 --retry 3 "${url}" >"${dest}" || fatal "Cannot download ${url}" + run curl -L --connect-timeout 10 --retry 3 "${url}" >"${dest}" || fatal "Cannot download ${url}" elif command -v wget >/dev/null 2>&1; then run wget -T 15 -O - "${url}" >"${dest}" || fatal "Cannot download ${url}" else |