mirror of https://github.com/Icinga/icinga2.git
Checkable#next_update: always use #check_interval if !#enable_active_checks
This commit is contained in:
parent
e4c920b69e
commit
aa258685be
|
@ -195,7 +195,7 @@ Timestamp Checkable::GetNextUpdate() const
|
|||
double interval, latency;
|
||||
|
||||
if (cr) {
|
||||
interval = GetProblem() && GetStateType() == StateTypeSoft ? GetRetryInterval() : GetCheckInterval();
|
||||
interval = GetEnableActiveChecks() && GetProblem() && GetStateType() == StateTypeSoft ? GetRetryInterval() : GetCheckInterval();
|
||||
latency = cr->GetExecutionEnd() - cr->GetScheduleStart();
|
||||
} else {
|
||||
interval = GetCheckInterval();
|
||||
|
|
Loading…
Reference in New Issue