Fixed notification for missed checks.

This commit is contained in:
Gunnar Beutner 2012-09-04 10:45:00 +02:00
parent 8e33123a50
commit 8dcb8bdd2e
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ void CheckerComponent::CheckTimerHandler(void)
if (cr) {
double lastCheck = cr->Get("execution_end");
int missed = (Utility::GetTime() - lastCheck) / service->GetCheckInterval();
int missed = (Utility::GetTime() - lastCheck) / service->GetCheckInterval() - 1;
if (missed > 0) {
missedChecks += missed;