From 0032e3202629ecc4b8148c47f0ddbb5543f1ab97 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Mon, 9 Jul 2012 16:22:38 +0200 Subject: [PATCH] Force compat module to write status.dat/objects.cache right after program start. --- components/compat/compatcomponent.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/components/compat/compatcomponent.cpp b/components/compat/compatcomponent.cpp index 6585446bc..37473b6f8 100644 --- a/components/compat/compatcomponent.cpp +++ b/components/compat/compatcomponent.cpp @@ -46,6 +46,7 @@ void CompatComponent::Start(void) m_StatusTimer->SetInterval(15); m_StatusTimer->OnTimerExpired.connect(boost::bind(&CompatComponent::StatusTimerHandler, this)); m_StatusTimer->Start(); + m_StatusTimer->Reschedule(0); CIB::RequireInformation(CIB_Configuration); CIB::RequireInformation(CIB_ProgramStatus);