From 939d5d229d067dfa5bae0dfa687e639914239915 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Sat, 28 Apr 2018 10:38:47 -0400 Subject: #604 implement timeout after resume to get rid of "stale connections" resulting in error display --- www/js/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'www/js/app.js') 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 }) -- cgit v1.2.3