mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-24 06:05:01 +02:00
Fixed scheduling bug.
This commit is contained in:
parent
b9ee3b26eb
commit
85d912feb5
@ -157,6 +157,8 @@ void CheckerComponent::CheckerChangedHandler(const Service::Ptr& service)
|
|||||||
if (m_PendingServices.find(service) != m_PendingServices.end())
|
if (m_PendingServices.find(service) != m_PendingServices.end())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
service->UpdateNextCheck();
|
||||||
|
|
||||||
m_Services.insert(service);
|
m_Services.insert(service);
|
||||||
} else {
|
} else {
|
||||||
m_Services.erase(service);
|
m_Services.erase(service);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user