Fix initial check interval.

Refs #5716
This commit is contained in:
Gunnar Beutner 2014-03-11 15:21:35 +01:00
parent 8acad9aac3
commit 51c7093e13
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ void Service::Start(void)
double now = Utility::GetTime();
if (GetNextCheck() < now + 300)
SetNextCheck(now + Utility::Random() % 300);
UpdateNextCheck();
DynamicObject::Start();
}