From d093aa7ff439c56a309e1778ecb66b7b13480c73 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Wed, 7 Sep 2016 16:53:49 -0400 Subject: #321 - initial code - needs cleanup and better structure. Values are littered around at the moment Former-commit-id: a5913367e5075e9b3e6eba774798d281decd4ffb --- www/js/app.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'www/js/app.js') diff --git a/www/js/app.js b/www/js/app.js index 22057355..367fc0af 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -46,6 +46,7 @@ angular.module('zmApp', [ authoremail: 'pliablepixels+zmNinja@gmail.com', logFileMaxSize: 20000, // after this limit log gets reset loginInterval: 300000, //5m*60s*1000 - ZM auto login after 5 mins + loginIntervalLowBW: 600000, //10m login //loginInterval: 30000, updateCheckInterval: 86400000, // 24 hrs loadingTimeout: 15000, @@ -77,6 +78,7 @@ angular.module('zmApp', [ nphSwitchTimer: 3000, eventHistoryTimer: 10000, eventPlaybackQuery: 3000, + eventPlaybackQueryLowBW: 6000, packeryTimer: 500, dbName: 'zmninja', cipherKey: 'sdf#@#%FSXSA_AR', @@ -1079,6 +1081,7 @@ angular.module('zmApp', [ $rootScope.db = null; + $rootScope.runMode = "normal"; $rootScope.platformOS = "desktop"; NVRDataModel.log("Device is ready"); -- cgit v1.2.3