mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 15:14:07 +02:00
Schedule pending services using the retry interval.
This commit is contained in:
parent
3846a10f0e
commit
c563736588
@ -338,7 +338,7 @@ ServiceStateType Service::GetStateType(void) const
|
|||||||
Value value = Get("state_type");
|
Value value = Get("state_type");
|
||||||
|
|
||||||
if (value.IsEmpty())
|
if (value.IsEmpty())
|
||||||
return StateTypeHard;
|
return StateTypeSoft;
|
||||||
|
|
||||||
int ivalue = static_cast<int>(value);
|
int ivalue = static_cast<int>(value);
|
||||||
return static_cast<ServiceStateType>(ivalue);
|
return static_cast<ServiceStateType>(ivalue);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user