]> granicus.if.org Git - icinga2/commitdiff
Fixed scheduling bug.
authorGunnar Beutner <gunnar.beutner@netways.de>
Sat, 4 Aug 2012 08:45:21 +0000 (10:45 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Sat, 4 Aug 2012 08:45:21 +0000 (10:45 +0200)
components/checker/checkercomponent.cpp

index feb8091948794e35187ed94bc81f7d4cb611d41c..4adbda657e414ce6ee0e8e8f30a3a45fa7596f47 100644 (file)
@@ -157,6 +157,8 @@ void CheckerComponent::CheckerChangedHandler(const Service::Ptr& service)
                if (m_PendingServices.find(service) != m_PendingServices.end())
                        return;
 
+               service->UpdateNextCheck();
+
                m_Services.insert(service);
        } else {
                m_Services.erase(service);