You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2009/06/11 11:34:56 UTC

svn commit: r783711 - /incubator/sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/EventingThreadPool.java

Author: cziegeler
Date: Thu Jun 11 09:34:56 2009
New Revision: 783711

URL: http://svn.apache.org/viewvc?rev=783711&view=rev
Log:
SLING-987 : Set the eventing thread pool queue to unlimited.

Modified:
    incubator/sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/EventingThreadPool.java

Modified: incubator/sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/EventingThreadPool.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/EventingThreadPool.java?rev=783711&r1=783710&r2=783711&view=diff
==============================================================================
--- incubator/sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/EventingThreadPool.java (original)
+++ incubator/sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/EventingThreadPool.java Thu Jun 11 09:34:56 2009
@@ -48,7 +48,7 @@
 
     private static final int DEFAULT_MIN_POOL_SIZE = 20; // this is sufficient for all threads + approx 10 job queues
     private static final int DEFAULT_MAX_POOL_SIZE = 30;
-    private static final int DEFAULT_QUEUE_SIZE = 50; // queue upto 50 threads
+    private static final int DEFAULT_QUEUE_SIZE = -1; // infinite
 
     /**
      * Activate this component.