remm        2005/06/23 04:47:32

  Modified:    http11/src/java/org/apache/coyote/http11
                        Http11AprProcessor.java
  Log:
  - Conserving threads when half are already busy seems better. It's possible a
    good value for maxThreads in many scenarios would end up being 40 or
    something.
  
  Revision  Changes    Path
  1.17      +1 -1      
jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11AprProcessor.java
  
  Index: Http11AprProcessor.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11AprProcessor.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- Http11AprProcessor.java   17 Jun 2005 12:31:40 -0000      1.16
  +++ Http11AprProcessor.java   23 Jun 2005 11:47:32 -0000      1.17
  @@ -758,7 +758,7 @@
           
           int limit = 0;
           if (endpoint.getFirstReadTimeout() > 0) {
  -            limit = (endpoint.getMaxThreads() * 3) / 4;
  +            limit = endpoint.getMaxThreads() / 2;
           }
   
           boolean keptAlive = false;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to