summaryrefslogtreecommitdiff
path: root/www/js/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/app.js')
-rwxr-xr-xwww/js/app.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/js/app.js b/www/js/app.js
index 08bdfb7b..eca72814 100755
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -55,6 +55,7 @@ angular.module('zmApp', [
//loginInterval: 30000,
updateCheckInterval: 86400000, // 24 hrs
loadingTimeout: 15000,
+ slowLoadingTimeout:60000,
safeMontageLimit: 100,
safeImageQuality: 10,
maxFPS: 30,
@@ -1103,12 +1104,13 @@ angular.module('zmApp', [
var loginData = NVRDataModel.getLogin();
console.log (">>>>>>>>>>>>>> PARALLEL POST WITH RECAPTCHA TO "+loginData.url);
-
+ var hDelay = loginData.enableSlowLoading ? zm.largeHttpTimeout: zm.httpTimeout;
//NVRDataModel.debug ("*** AUTH LOGIN URL IS " + loginData.url);
$http(
{
+
method: 'POST',
- timeout:15000,
+ timeout:hDelay,
//withCredentials: true,
url: loginData.url + '/index.php',
headers: