Commit 71bc35d0 by xzyfer

Increase the binary fetch request timeout

I found the 1s timeout to be really fragile when testing locally.
The intent of the timeout is to prevent the install process hanging
indefinitely. It makes sense to be very generous so this increases
the timeout to 60s.

The timeout applies to both the initial connection as well as
individual packets.
parent 9525d5cc
......@@ -50,7 +50,7 @@ function download(url, dest, cb) {
var options = {
rejectUnauthorized: false,
proxy: getProxy(),
timeout: 1000,
timeout: 60000,
headers: {
'User-Agent': getUserAgent(),
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment