| ... | ... |
@@ -71,7 +71,7 @@ function xhr_to_syno(method, url_path, onload_function, max_retry) {
|
| 71 | 71 |
var server = JSON.parse(localStorage.getItem('clay-settings')).server
|
| 72 | 72 |
url = server + url_path; |
| 73 | 73 |
var xhr = new XMLHttpRequest(); |
| 74 |
- xhr.timeout = 20000; // time in milliseconds |
|
| 74 |
+ xhr.timeout = 120000; // time in milliseconds |
|
| 75 | 75 |
|
| 76 | 76 |
xhr.open(method, url, true); |
| 77 | 77 |
console.log('------xhr opened')
|