MXS-2057 System test

This commit is contained in:
Niclas Antti
2018-11-13 17:23:16 +02:00
parent e371964f8b
commit 77f8a3b71b
6 changed files with 172 additions and 4 deletions

View File

@ -988,7 +988,7 @@ void maxscale::RoutingWorker::set_watchdog_interval(uint64_t microseconds)
// Do not call anything from here, assume nothing has been initialized (like logging).
// The internal timeout is 2/3 of the systemd configured interval.
double seconds = 2.0 * microseconds / 3000000;
double seconds = 1.0 * microseconds / 2000000;
s_watchdog_interval = maxbase::Duration(seconds);
s_watchdog_next_check = maxbase::Clock::now();