diff options
| author | Michael Larson <slioch@slioch.vyatta.com> | 2010-03-23 15:22:01 -0700 |
|---|---|---|
| committer | Michael Larson <slioch@slioch.vyatta.com> | 2010-03-23 15:22:01 -0700 |
| commit | 2e5982e8d48b6893cdbd785be21da54515ea78d7 (patch) | |
| tree | ba9a7c6fc3edc06e4dd22244de87fc923ac8c366 /src/lbtest.hh | |
| parent | 62cf04bb7b19058fe2490ca6cd821273da56b67d (diff) | |
| download | vyatta-wanloadbalance-2e5982e8d48b6893cdbd785be21da54515ea78d7.tar.gz vyatta-wanloadbalance-2e5982e8d48b6893cdbd785be21da54515ea78d7.zip | |
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).
Diffstat (limited to 'src/lbtest.hh')
| -rw-r--r-- | src/lbtest.hh | 2 |
1 files changed, 1 insertions, 1 deletions
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();} |
