increase connection timeout to 60sec
This commit is contained in:
parent
420733b93a
commit
79cd6da824
|
@ -369,7 +369,7 @@ function download(url, {
|
||||||
body,
|
body,
|
||||||
responseType = 'text',
|
responseType = 'text',
|
||||||
requiredStatusCode = 200,
|
requiredStatusCode = 200,
|
||||||
timeout = 10e3, // connection timeout
|
timeout = 60e3, // connection timeout, USO is that bad
|
||||||
loadTimeout = 2 * 60e3, // data transfer timeout (counted from the first remote response)
|
loadTimeout = 2 * 60e3, // data transfer timeout (counted from the first remote response)
|
||||||
headers = {
|
headers = {
|
||||||
'Content-type': 'application/x-www-form-urlencoded',
|
'Content-type': 'application/x-www-form-urlencoded',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user