Author: markt
Date: Tue Apr 22 08:02:26 2014
New Revision: 1589037

URL: http://svn.apache.org/r1589037
Log:
Increase the default maximum size of the executor used for async writes

Modified:
    tomcat/tc7.0.x/trunk/   (props changed)
    
tomcat/tc7.0.x/trunk/java/org/apache/tomcat/websocket/server/WsServerContainer.java
    tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml
    tomcat/tc7.0.x/trunk/webapps/docs/web-socket-howto.xml

Propchange: tomcat/tc7.0.x/trunk/
------------------------------------------------------------------------------
  Merged /tomcat/trunk:r1589035

Modified: 
tomcat/tc7.0.x/trunk/java/org/apache/tomcat/websocket/server/WsServerContainer.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/tomcat/websocket/server/WsServerContainer.java?rev=1589037&r1=1589036&r2=1589037&view=diff
==============================================================================
--- 
tomcat/tc7.0.x/trunk/java/org/apache/tomcat/websocket/server/WsServerContainer.java
 (original)
+++ 
tomcat/tc7.0.x/trunk/java/org/apache/tomcat/websocket/server/WsServerContainer.java
 Tue Apr 22 08:02:26 2014
@@ -114,7 +114,7 @@ public class WsServerContainer extends W
         }
         // Executor config
         int executorCoreSize = 0;
-        int executorMaxSize = 10;
+        int executorMaxSize = 200;
         long executorKeepAliveTimeSeconds = 60;
         value = servletContext.getInitParameter(
                 Constants.EXECUTOR_CORE_SIZE_INIT_PARAM);

Modified: tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?rev=1589037&r1=1589036&r2=1589037&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Tue Apr 22 08:02:26 2014
@@ -101,6 +101,11 @@
         systems if a file named <code>\</code> is encountered when scanning for
         TLDs. (mark)
       </fix>
+      <fix>
+        Increase the default maximum size of the executor used by the WebSocket
+        implementation for call backs associated with asynchronous writes from
+        10 to 200. (markt) 
+      </fix>
     </changelog>
   </subsection>
   <subsection name="Jasper">

Modified: tomcat/tc7.0.x/trunk/webapps/docs/web-socket-howto.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/web-socket-howto.xml?rev=1589037&r1=1589036&r2=1589037&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/webapps/docs/web-socket-howto.xml (original)
+++ tomcat/tc7.0.x/trunk/webapps/docs/web-socket-howto.xml Tue Apr 22 08:02:26 
2014
@@ -123,7 +123,7 @@ implement its own timeout mechanism to h
          is used.</li>
      <li><code>org.apache.tomcat.websocket.executorMaxSize</code>: The maximum
          permitted size of the executor thread pool. If not set, the default of
-         10 is used.</li>
+         200 is used.</li>
      <li><code>org.apache.tomcat.websocket.executorKeepAliveTimeSeconds</code>:
          The maximum time an idle thread will remain in the executor thread 
pool
          until it is terminated. If not specified, the default of 60 seconds is



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to