LinkStatusItem link_analyzer,
const int first_delay,
const int n_parallel_pings,
- const int parallel_ping_delay
+ const int parallel_ping_delay,
+ const int ping_timeout_factor
);
~PingScheduler();
/// Keeps track of the time when the last ping was send
boost::posix_time::ptime TimeSentLastPing;
/// time threshold for ping
- const int PingReplyTimeout;
+ int PingReplyTimeout;
+ /// time threshold for ping -- original value
+ const int PingReplyTimeoutOrig;
/// Object responsible to evaluate the status of the host
HostStatus HostAnalyzer;
/// The Dns resolver
std::string LogPrefix;
/// Flag whether DNS resolution has failed so we have to run on outdated IPs
bool ContinueOnOutdatedIps;
+ int PingTimeoutFactor;
};
//-----------------------------------------------------------------------------