summaryrefslogtreecommitdiff
path: root/web/share
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-06-06 04:04:42 +0300
committerDevaev Maxim <[email protected]>2019-06-06 04:04:42 +0300
commit0f4b990eaed1b4e668767b2b3127986c2aed5d45 (patch)
tree0543518b7a124d40f45d43487e8e104467cc9b20 /web/share
parent288fb05ea544bb678115cca66c51efb4dc3d909b (diff)
increased web timeout
Diffstat (limited to 'web/share')
-rw-r--r--web/share/js/kvm/msd.js2
-rw-r--r--web/share/js/tools.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/web/share/js/kvm/msd.js b/web/share/js/kvm/msd.js
index d8059cab..41bbd8be 100644
--- a/web/share/js/kvm/msd.js
+++ b/web/share/js/kvm/msd.js
@@ -58,7 +58,7 @@ function Msd() {
__upload_http = new XMLHttpRequest();
__upload_http.open("POST", "/api/msd/write", true);
- __upload_http.upload.timeout = 5000;
+ __upload_http.upload.timeout = 15000;
__upload_http.onreadystatechange = __uploadStateChange;
__upload_http.upload.onprogress = __uploadProgress;
__upload_http.send(form_data);
diff --git a/web/share/js/tools.js b/web/share/js/tools.js
index 8c83b181..240fdc29 100644
--- a/web/share/js/tools.js
+++ b/web/share/js/tools.js
@@ -36,7 +36,7 @@ var tools = new function() {
http.setRequestHeader("Content-Type", content_type);
}
http.onreadystatechange = callback;
- http.timeout = 5000;
+ http.timeout = 15000;
http.send(body);
return http;
};