diff options
author | elfgoh <elfgoh@yahoo.com> | 2019-02-24 19:18:49 +0800 |
---|---|---|
committer | Chris Akritidis <43294513+cakrit@users.noreply.github.com> | 2019-02-24 12:18:49 +0100 |
commit | 90975a50f69bed44a969688a4c58e3cad70585d1 (patch) | |
tree | 18a6bd94b6b3a43177e400e3cb7151bed12e7558 /packaging/installer/netdata-updater.sh | |
parent | 86ed38693fd8e46250dbf9d0d934a05d3341eb7a (diff) |
Increase curl timeout to address spotty network (#5476)
Diffstat (limited to 'packaging/installer/netdata-updater.sh')
-rw-r--r-- | packaging/installer/netdata-updater.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/installer/netdata-updater.sh b/packaging/installer/netdata-updater.sh index 7846ce8bfa..d13f76fae6 100644 --- a/packaging/installer/netdata-updater.sh +++ b/packaging/installer/netdata-updater.sh @@ -35,7 +35,7 @@ download() { url="${1}" dest="${2}" if command -v curl >/dev/null 2>&1; then - curl -L --connect-timeout 5 --retry 3 "${url}" >"${dest}" || fatal "Cannot download ${url}" + curl -L --connect-timeout 10 --retry 3 "${url}" >"${dest}" || fatal "Cannot download ${url}" elif command -v wget >/dev/null 2>&1; then wget -T 15 -O - "${url}" >"${dest}" || fatal "Cannot download ${url}" else |