From: Gunnar Beutner Date: Sat, 23 Mar 2013 11:54:14 +0000 (+0100) Subject: More tuning. X-Git-Tag: v0.0.2~185 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dc2efae42123fa2734c2690d4ea782c0f6e7e256;p=icinga2 More tuning. --- diff --git a/lib/base/eventqueue.cpp b/lib/base/eventqueue.cpp index 17d4300be..d9871ec15 100644 --- a/lib/base/eventqueue.cpp +++ b/lib/base/eventqueue.cpp @@ -213,7 +213,7 @@ void EventQueue::ReportThreadProc(void) if (pending > alive - busy) { /* Spawn a few additional workers. */ - for (int i = 0; i < 2; i++) + for (int i = 0; i < 8; i++) SpawnWorker(); } else { KillWorker();