Increase grace period for agent-based checks

refs #11020
This commit is contained in:
Gunnar Beutner 2016-02-08 09:46:01 +01:00
parent 4049cc0b9a
commit 6d5014b610
1 changed files with 1 additions and 1 deletions

View File

@ -454,7 +454,7 @@ void Checkable::ExecuteCheck(void)
a check result from the remote instance. The check will be re-scheduled
using the proper check interval once we've received a check result. */
SetNextCheck(Utility::GetTime() + GetCheckCommand()->GetTimeout() + 30);
} else if (Application::GetInstance()->GetStartTime() < Utility::GetTime() - 30) {
} else if (Application::GetInstance()->GetStartTime() < Utility::GetTime() - 300) {
/* fail to perform check on unconnected endpoint */
cr->SetState(ServiceUnknown);