Use check interval (rather than retry interval) when rescheduling passive checks.

This commit is contained in:
Gunnar Beutner 2013-01-28 08:31:29 +01:00
parent a77aa596a8
commit 1bbd9d629e
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ void ExternalCommand::ProcessServiceCheckResult(double time, const vector<String
/* Reschedule the next check. The side effect of this is that for as long
* as we receive passive results for a service we won't execute any
* active checks. */
service->UpdateNextCheck();
service->SetNextCheck(Utility::GetTime() + service->GetCheckInterval());
}
void ExternalCommand::ScheduleSvcCheck(double time, const vector<String>& arguments)