We should be able to set the 'max_polling_interval' variable
manually. Especially systems requiring precise failover timing
will want to disable the automatic polling interval increase.
Signed-off-by: Hannes Reinecke <hare@suse.de>
* max at conf->max_checkint
*/
if (pp->checkint < (conf->max_checkint / 2))
- pp->checkint = 2 * pp->checkint;
+ pp->checkint = 2 * pp->checkint;
else
- pp->checkint = conf->max_checkint;
+ pp->checkint = conf->max_checkint;
pp->tick = pp->checkint;
condlog(4, "%s: delay next check %is",