]> granicus.if.org Git - icinga2/commitdiff
More tuning.
authorGunnar Beutner <gunnar.beutner@netways.de>
Sat, 23 Mar 2013 11:54:14 +0000 (12:54 +0100)
committerGunnar Beutner <gunnar.beutner@netways.de>
Sat, 23 Mar 2013 11:54:14 +0000 (12:54 +0100)
lib/base/eventqueue.cpp

index 17d4300becf348bffb682f2184501f259f9eb576..d9871ec1524ca9f26ca33b7b793573a82745cb80 100644 (file)
@@ -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();