mirror of https://github.com/Icinga/icinga2.git
Remove debug code.
This commit is contained in:
parent
ba6be063b6
commit
fe0fb171d0
|
@ -230,11 +230,6 @@ void ThreadPool::ManagerThreadProc(void)
|
||||||
double avg_latency, max_latency;
|
double avg_latency, max_latency;
|
||||||
double utilization = 0;
|
double utilization = 0;
|
||||||
|
|
||||||
Value adaptive = ScriptVariable::Get("ThreadPoolAdaptive");
|
|
||||||
|
|
||||||
if (!adaptive.IsEmpty() && !static_cast<bool>(adaptive))
|
|
||||||
break;
|
|
||||||
|
|
||||||
{
|
{
|
||||||
boost::mutex::scoped_lock lock(m_Mutex);
|
boost::mutex::scoped_lock lock(m_Mutex);
|
||||||
|
|
||||||
|
|
|
@ -19,8 +19,6 @@
|
||||||
|
|
||||||
#include "base/zlibstream.h"
|
#include "base/zlibstream.h"
|
||||||
#include "base/objectlock.h"
|
#include "base/objectlock.h"
|
||||||
#include "base/convert.h"
|
|
||||||
#include "base/logger_fwd.h"
|
|
||||||
#include <boost/make_shared.hpp>
|
#include <boost/make_shared.hpp>
|
||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
|
|
Loading…
Reference in New Issue