sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r783711 - /incubator/sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/EventingThreadPool.java
Date Thu, 11 Jun 2009 09:34:56 GMT
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.



Mime
View raw message