Increase timeout for download of go.d.plugin (#5468)
Fixes #5467
elfgoh committed
Feb 22, 2019 at 16:36 UTC
95f6965d99dcd5524a99edd3d4a4caf2a866eebb
1 file changed
+1
-1
netdata-installer.sh
+1
-1
@@ -44,7 +44,7 @@ download() {
44
url="${1}"
45
dest="${2}"
46
if command -v curl >/dev/null 2>&1; then
47
- run curl -L --connect-timeout 5 --retry 3 "${url}" >"${dest}" || fatal "Cannot download ${url}"
47
+ run curl -L --connect-timeout 10 --retry 3 "${url}" >"${dest}" || fatal "Cannot download ${url}"
48
elif command -v wget >/dev/null 2>&1; then
49
run wget -T 15 -O - "${url}" >"${dest}" || fatal "Cannot download ${url}"
50
else