slow card distrib bug fixed (from 300 to 100 msec as cmd poll timeout)
[brisk.git] / web / xynt-http-streaming.js
index 2c43619..fe325be 100644 (file)
@@ -37,13 +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,
-    /* restart after 200 * 20 * 3 millisec if server ping is missing => 12secs */
-    watchdog_timeout:  300,
+    /* 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:  14,
     watchable:         false,
     restart_n:         0,
     comm_match:        /_*@BEGIN@(.*?)@END@/g,