From 2e5982e8d48b6893cdbd785be21da54515ea78d7 Mon Sep 17 00:00:00 2001 From: Michael Larson Date: Tue, 23 Mar 2010 15:22:01 -0700 Subject: when a test is not configured the response time window is incorrectly scaled into milliseconds, therefore without a configured test it is much more likely that a ping test will fail. the work-around is to configure a test (response time is not required as the default value of 5 seconds will be used at this point). --- src/lbtest.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lbtest.hh') diff --git a/src/lbtest.hh b/src/lbtest.hh index 1fc7f07..208adaa 100644 --- a/src/lbtest.hh +++ b/src/lbtest.hh @@ -41,7 +41,7 @@ public: public: LBTest(bool debug) : _debug(debug), - _resp_time(5), + _resp_time(5*1000), _state(K_NONE) {init();} -- cgit v1.2.3