Browse code

increase timeout

Louis Jonget authored on14/02/2025 10:31:25
Showing2 changed files
1 1
Binary files a/build/synocam_home_switch.pbw and b/build/synocam_home_switch.pbw differ
... ...
@@ -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')