diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/share/js/kvm/msd.js | 2 | ||||
-rw-r--r-- | web/share/js/tools.js | 2 |
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; }; |