mirror of https://github.com/Icinga/icinga2.git
parent
1dbd689f9c
commit
48569b6205
|
@ -121,9 +121,12 @@ void CheckerComponent::CheckThreadProc(void)
|
||||||
|
|
||||||
/* reschedule the service if checks are disabled */
|
/* reschedule the service if checks are disabled */
|
||||||
if (!check) {
|
if (!check) {
|
||||||
|
m_IdleServices.insert(service);
|
||||||
|
lock.unlock();
|
||||||
|
|
||||||
service->UpdateNextCheck();
|
service->UpdateNextCheck();
|
||||||
|
|
||||||
m_IdleServices.insert(service);
|
lock.lock();
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue