slightly increased various timeouts
authorCalin Crisan <ccrisan@gmail.com>
Sun, 11 Oct 2015 15:04:49 +0000 (18:04 +0300)
committerCalin Crisan <ccrisan@gmail.com>
Sun, 11 Oct 2015 15:04:49 +0000 (18:04 +0300)
motioneye/static/js/main.js

index 532787d27830be45c60e2f2a400d543886b44e75..c192f4e23ab60b9d7e0511c71b67150da5ba75c8 100644 (file)
@@ -2107,7 +2107,7 @@ function doUpdate() {
                         );
                     }
                     
-                    setTimeout(checkServer, 10000);
+                    setTimeout(checkServer, 15000);
 
                 }, function (e) { /* error */
                     runAlertDialog('The update process has failed!', function () {
@@ -2198,7 +2198,7 @@ function doRestore() {
                         }
                         
                         if (data.reboot) {
-                            setTimeout(checkServer, 10000);
+                            setTimeout(checkServer, 15000);
                         }
                         else {
                             setTimeout(function () {