mirror of https://github.com/Icinga/icinga2.git
Bugfix: Missing call to SetScheduleStart()
This commit is contained in:
parent
d11da74931
commit
11c81231b8
|
@ -101,8 +101,10 @@ void NagiosCheckTask::CheckThreadProc(void)
|
|||
while (!m_Tasks.empty() && tasks.size() < MaxChecksPerThread) {
|
||||
NagiosCheckTask::Ptr task = m_Tasks.front();
|
||||
m_Tasks.pop_front();
|
||||
time_t now;
|
||||
time(&now);
|
||||
task->GetResult().SetScheduleStart(now);
|
||||
if (!task->InitTask()) {
|
||||
time_t now;
|
||||
time(&now);
|
||||
task->GetResult().SetScheduleEnd(now);
|
||||
|
||||
|
|
Loading…
Reference in New Issue