]> granicus.if.org Git - icinga2/commitdiff
Remove debug code.
authorGunnar Beutner <gunnar.beutner@netways.de>
Tue, 3 Sep 2013 12:10:57 +0000 (14:10 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Tue, 3 Sep 2013 12:10:57 +0000 (14:10 +0200)
lib/base/threadpool.cpp
lib/base/zlibstream.cpp

index 51217b14d0d0264b446e8308af57097b30053a6b..c79e2143bc1e8131ad117fca8ffd01fc03419181 100644 (file)
@@ -230,11 +230,6 @@ void ThreadPool::ManagerThreadProc(void)
                double avg_latency, max_latency;
                double utilization = 0;
 
-               Value adaptive = ScriptVariable::Get("ThreadPoolAdaptive");
-
-               if (!adaptive.IsEmpty() && !static_cast<bool>(adaptive))
-                       break;
-
                {
                        boost::mutex::scoped_lock lock(m_Mutex);
 
index d7dbc3567c0347b2ce5c561871835f33c3a1d1d4..5a2417f3df03ba93515513086c9d95a37c42a7e4 100644 (file)
@@ -19,8 +19,6 @@
 
 #include "base/zlibstream.h"
 #include "base/objectlock.h"
-#include "base/convert.h"
-#include "base/logger_fwd.h"
 #include <boost/make_shared.hpp>
 
 using namespace icinga;