From 79cd6da8245111d538eadb13e12bc98754738e5d Mon Sep 17 00:00:00 2001 From: tophf Date: Thu, 19 Nov 2020 18:10:23 +0300 Subject: [PATCH] increase connection timeout to 60sec --- js/messaging.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/messaging.js b/js/messaging.js index c713d3e5..fb933a49 100644 --- a/js/messaging.js +++ b/js/messaging.js @@ -369,7 +369,7 @@ function download(url, { body, responseType = 'text', 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) headers = { 'Content-type': 'application/x-www-form-urlencoded',