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