mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
parent
bc4c4098f0
commit
ff807dabff
components/checker
@ -140,7 +140,7 @@ void CheckerComponent::CheckThreadProc(void)
|
||||
Log(LogDebug, "checker", "Executing service check for '" + service->GetName() + "'");
|
||||
|
||||
CheckerComponent::Ptr self = GetSelf();
|
||||
Utility::QueueAsyncCallback(boost::bind(&CheckerComponent::ExecuteCheckHelper, self, service));
|
||||
m_Pool.Post(boost::bind(&CheckerComponent::ExecuteCheckHelper, self, service));
|
||||
|
||||
lock.lock();
|
||||
}
|
||||
|
@ -92,6 +92,8 @@ private:
|
||||
void NextCheckChangedHandler(const Service::Ptr& service);
|
||||
|
||||
void RescheduleCheckTimer(void);
|
||||
|
||||
ThreadPool m_Pool;
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user