summaryrefslogtreecommitdiff
path: root/www/js/app.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2016-09-07 16:53:49 -0400
committerPliable Pixels <pliablepixels@gmail.com>2016-09-07 16:53:49 -0400
commitd093aa7ff439c56a309e1778ecb66b7b13480c73 (patch)
treebcad50ea4a9f01b7cf27ee8837aa975d87564858 /www/js/app.js
parent7805e0799dea82116fa39d4e5f4771111840142c (diff)
#321 - initial code - needs cleanup and better structure. Values are littered around at the moment
Former-commit-id: a5913367e5075e9b3e6eba774798d281decd4ffb
Diffstat (limited to 'www/js/app.js')
-rw-r--r--www/js/app.js3
1 files changed, 3 insertions, 0 deletions
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");