You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by fh...@apache.org on 2006/03/07 21:43:48 UTC

svn commit: r384003 - /tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/PooledSender.java

Author: fhanik
Date: Tue Mar  7 12:43:47 2006
New Revision: 384003

URL: http://svn.apache.org/viewcvs?rev=384003&view=rev
Log:
Implemented queueing 

Modified:
    tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/PooledSender.java

Modified: tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/PooledSender.java
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/PooledSender.java?rev=384003&r1=384002&r2=384003&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/PooledSender.java (original)
+++ tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/tcp/PooledSender.java Tue Mar  7 12:43:47 2006
@@ -174,7 +174,7 @@
                 if ( delta > timeout && timeout>0) return null;
                 else {
                     try {
-                        wait(timeout - delta);
+                        wait(Math.max(timeout - delta,1));
                     }catch (InterruptedException x){}
                 }//end if
             }



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