Set the default thread count to 200
authorfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 23 Oct 2008 04:10:59 +0000 (04:10 +0000)
committerfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 23 Oct 2008 04:10:59 +0000 (04:10 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@707264 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/tomcat/util/net/AprEndpoint.java
java/org/apache/tomcat/util/net/BaseEndpoint.java
java/org/apache/tomcat/util/net/JIoEndpoint.java
java/org/apache/tomcat/util/net/NioEndpoint.java
webapps/docs/config/http.xml

index 723bafd..6904694 100644 (file)
@@ -176,7 +176,7 @@ public class AprEndpoint {
     /**
      * Maximum amount of worker threads.
      */
-    protected int maxThreads = 40;
+    protected int maxThreads = 200;
     public void setMaxThreads(int maxThreads) { this.maxThreads = maxThreads; }
     public int getMaxThreads() { return maxThreads; }
 
index 23ccde0..eb74ff0 100644 (file)
@@ -126,7 +126,7 @@ public abstract class BaseEndpoint {
     /**
      * Maximum amount of worker threads.
      */
-    protected int maxThreads = 40;
+    protected int maxThreads = 200;
     public void setMaxThreads(int maxThreads) { this.maxThreads = maxThreads; }
     public int getMaxThreads() { return maxThreads; }
 
index 1dfdf38..76a1b08 100644 (file)
@@ -173,7 +173,7 @@ public class JIoEndpoint {
     /**
      * Maximum amount of worker threads.
      */
-    protected int maxThreads = 40;
+    protected int maxThreads = 200;
     public void setMaxThreads(int maxThreads) { this.maxThreads = maxThreads; }
     public int getMaxThreads() { return maxThreads; }
 
index acbfae4..871cfd2 100644 (file)
@@ -349,7 +349,7 @@ public class NioEndpoint {
     /**
      * Maximum amount of worker threads.
      */
-    protected int maxThreads = 40;
+    protected int maxThreads = 200;
     public void setMaxThreads(int maxThreads) { this.maxThreads = maxThreads; }
     public int getMaxThreads() { return maxThreads; }
 
index 2413514..6539e15 100644 (file)
       <p>The maximum number of request processing threads to be created
       by this <strong>Connector</strong>, which therefore determines the
       maximum number of simultaneous requests that can be handled.  If
-      not specified, this attribute is set to 40. If an executor is associated
+      not specified, this attribute is set to 200. If an executor is associated
       with this connector, this attribute is ignored as the connector will 
       execute tasks using the executor rather than an internal thread pool.</p>
     </attribute>