slow card distrib bug fixed (from 300 to 100 msec as cmd poll timeout)
[brisk.git] / web / xynt-http-streaming.js
index 2ee7577..fe325be 100644 (file)
@@ -37,12 +37,13 @@ http_streaming.prototype = {
     keepalive_old:    -1,
     keepalive_new:    -1,
     keepalives_equal:  0,
-    keepalives_eq_max: 3,
     /* NOTE: right watch_timeout value to 100, for devel reasons use 1000 or more */
     // FIXME watchdog_timeout:  200,
-    watchdog_timeout:  200,
+    /* restart after  3 * 40 * 100 millisec if server ping is missing => 12secs */
+    keepalives_eq_max: 3,
+    watchdog_checktm:  40,
+    watchdog_timeout:  100,
     watchdog_ct:       0,
-    watchdog_checktm:  20,
     watchable:         false,
     restart_n:         0,
     comm_match:        /_*@BEGIN@(.*?)@END@/g,