mirror of https://github.com/Icinga/icinga2.git
Fix issue 5022
This commit is contained in:
parent
87e5f89a83
commit
bc1dc9c7a7
|
@ -260,8 +260,13 @@ void Checkable::ProcessCheckResult(const CheckResult::Ptr& cr, const MessageOrig
|
|||
if (parent.get() == this)
|
||||
continue;
|
||||
|
||||
ObjectLock olock(parent);
|
||||
parent->SetNextCheck(Utility::GetTime());
|
||||
if (!parent->GetEnableActiveChecks())
|
||||
continue;
|
||||
|
||||
if (parent->GetNextCheck() >= now + parent->GetRetryInterval()) {
|
||||
ObjectLock olock(parent);
|
||||
parent->SetNextCheck(now);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue