mirror of https://github.com/Icinga/icinga2.git
Use normal check interval for services which haven't been checked yet.
Refs #5050
This commit is contained in:
parent
979df4e110
commit
e2a7cb32e5
|
@ -108,7 +108,7 @@ void Service::UpdateNextCheck(void)
|
||||||
|
|
||||||
double interval;
|
double interval;
|
||||||
|
|
||||||
if (GetStateType() == StateTypeSoft)
|
if (GetStateType() == StateTypeSoft && GetLastCheckResult() != NULL)
|
||||||
interval = GetRetryInterval();
|
interval = GetRetryInterval();
|
||||||
else
|
else
|
||||||
interval = GetCheckInterval();
|
interval = GetCheckInterval();
|
||||||
|
|
Loading…
Reference in New Issue