mirror of https://github.com/Icinga/icinga2.git
Checkable#ExecuteCheck(): set #last_check_started to now before #UpdateNextCheck()
refs #7888
This commit is contained in:
parent
9dc297987e
commit
4585a404d6
|
@ -514,6 +514,8 @@ void Checkable::ExecuteCheck()
|
|||
double scheduled_start = GetNextCheck();
|
||||
double before_check = Utility::GetTime();
|
||||
|
||||
SetLastCheckStarted(Utility::GetTime());
|
||||
|
||||
/* This calls SetNextCheck() which updates the CheckerComponent's idle/pending
|
||||
* queues and ensures that checks are not fired multiple times. ProcessCheckResult()
|
||||
* is called too late. See #6421.
|
||||
|
|
Loading…
Reference in New Issue