mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 07:04:37 +02:00
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…
x
Reference in New Issue
Block a user