mirror of https://github.com/Icinga/icinga2.git
parent
8acad9aac3
commit
51c7093e13
|
@ -51,7 +51,7 @@ void Service::Start(void)
|
||||||
double now = Utility::GetTime();
|
double now = Utility::GetTime();
|
||||||
|
|
||||||
if (GetNextCheck() < now + 300)
|
if (GetNextCheck() < now + 300)
|
||||||
SetNextCheck(now + Utility::Random() % 300);
|
UpdateNextCheck();
|
||||||
|
|
||||||
DynamicObject::Start();
|
DynamicObject::Start();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue