summaryrefslogtreecommitdiff
path: root/www/js/app.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2018-04-28 10:38:47 -0400
committerPliable Pixels <pliablepixels@gmail.com>2018-04-28 10:38:47 -0400
commit939d5d229d067dfa5bae0dfa687e639914239915 (patch)
tree24597853363b086893f349807155292b9d5e4a78 /www/js/app.js
parentc3e9a03bfb2c1341285a2b0b51090effa35b32fe (diff)
#604 implement timeout after resume to get rid of "stale connections" resulting in error display
Diffstat (limited to 'www/js/app.js')
-rwxr-xr-xwww/js/app.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/js/app.js b/www/js/app.js
index 947c25f4..a4ead43a 100755
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -107,7 +107,8 @@ angular.module('zmApp', [
thumbWidth:200,
alarmStatusTime: 10000,
eventServerErrorDelay:5000, // time to wait till I report initial connect errors
- zmVersionCheckNag: 30 * 24 // in hrs
+ zmVersionCheckNag: 30 * 24, // in hrs
+ waitTimeTillResume: 5 // in sec, for ES error
})