mirror of https://github.com/Icinga/icinga2.git
Performance fixes.
This commit is contained in:
parent
f64b649339
commit
86ffd15eb9
|
@ -12,7 +12,7 @@ public:
|
|||
|
||||
typedef function<void()> Task;
|
||||
|
||||
ThreadPool(long numThreads = 16);
|
||||
ThreadPool(long numThreads = 64);
|
||||
~ThreadPool(void);
|
||||
|
||||
static ThreadPool::Ptr GetDefaultPool(void);
|
||||
|
|
|
@ -131,8 +131,6 @@ void Timer::Start(void)
|
|||
Stop();
|
||||
|
||||
Timers.push_back(GetSelf());
|
||||
|
||||
Reschedule(time(NULL) + m_Interval);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue