Checkable#ExecuteCheck(): set #last_check_started to now before #UpdateNextCheck()

refs #7888
This commit is contained in:
Alexander A. Klimov 2020-03-05 15:42:07 +01:00
parent 9dc297987e
commit 4585a404d6
1 changed files with 2 additions and 0 deletions

View File

@ -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.