You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-dev@ws.apache.org by dl...@apache.org on 2002/03/01 22:38:48 UTC

cvs commit: xml-rpc/src/java/org/apache/xmlrpc XmlRpcServer.java

dlr         02/03/01 13:38:48

  Modified:    src/java/org/apache/xmlrpc XmlRpcServer.java
  Log:
  Corrected bad math in check for heavy concurrency in getWorker().
  
  Revision  Changes    Path
  1.23      +1 -1      xml-rpc/src/java/org/apache/xmlrpc/XmlRpcServer.java
  
  Index: XmlRpcServer.java
  ===================================================================
  RCS file: /home/cvs/xml-rpc/src/java/org/apache/xmlrpc/XmlRpcServer.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -u -r1.22 -r1.23
  --- XmlRpcServer.java	22 Feb 2002 16:08:42 -0000	1.22
  +++ XmlRpcServer.java	1 Mar 2002 21:38:48 -0000	1.23
  @@ -157,7 +157,7 @@
               if (workers < maxThreads)
               {
                   workers += 1;
  -                if (maxThreads - workers >= maxThreads * .95)
  +                if (workers >= maxThreads * .95)
                   {
                       System.err.println("95% of XML-RPC server threads in use");
                   }