Checkable#next_update: always use #check_interval if !#enable_active_checks

This commit is contained in:
Alexander A. Klimov 2020-01-28 10:27:02 +01:00
parent e4c920b69e
commit aa258685be
1 changed files with 1 additions and 1 deletions

View File

@ -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();