Author: markt Date: Tue Apr 22 08:00:13 2014 New Revision: 1589035 URL: http://svn.apache.org/r1589035 Log: Increase the default maximum size of the executor used for async writes
Modified: tomcat/trunk/java/org/apache/tomcat/websocket/server/WsServerContainer.java tomcat/trunk/webapps/docs/changelog.xml tomcat/trunk/webapps/docs/web-socket-howto.xml Modified: tomcat/trunk/java/org/apache/tomcat/websocket/server/WsServerContainer.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/websocket/server/WsServerContainer.java?rev=1589035&r1=1589034&r2=1589035&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/websocket/server/WsServerContainer.java (original) +++ tomcat/trunk/java/org/apache/tomcat/websocket/server/WsServerContainer.java Tue Apr 22 08:00:13 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/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1589035&r1=1589034&r2=1589035&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/changelog.xml (original) +++ tomcat/trunk/webapps/docs/changelog.xml Tue Apr 22 08:00:13 2014 @@ -121,6 +121,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="Coyote"> Modified: tomcat/trunk/webapps/docs/web-socket-howto.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/web-socket-howto.xml?rev=1589035&r1=1589034&r2=1589035&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/web-socket-howto.xml (original) +++ tomcat/trunk/webapps/docs/web-socket-howto.xml Tue Apr 22 08:00:13 2014 @@ -121,7 +121,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