mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 13:45:04 +02:00
Decrease the maximum number of threads allowed per ThreadPool.
Refs #5748
This commit is contained in:
parent
bfc5d2a4be
commit
f391a32487
@ -97,7 +97,7 @@ private:
|
||||
|
||||
bool Stopped;
|
||||
|
||||
WorkerThread Threads[256];
|
||||
WorkerThread Threads[16];
|
||||
|
||||
Queue(void)
|
||||
: WaitTime(0), ServiceTime(0), TaskCount(0), Stopped(false)
|
||||
@ -118,7 +118,7 @@ private:
|
||||
boost::condition_variable m_MgmtCV;
|
||||
bool m_Stopped;
|
||||
|
||||
Queue m_Queues[16];
|
||||
Queue m_Queues[4];
|
||||
|
||||
void ManagerThreadProc(void);
|
||||
void StatsThreadProc(void);
|
||||
|
Loading…
x
Reference in New Issue
Block a user