tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r966596 - /tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java
Date Thu, 22 Jul 2010 11:51:00 GMT
Author: markt
Date: Thu Jul 22 11:51:00 2010
New Revision: 966596

URL: http://svn.apache.org/viewvc?rev=966596&view=rev
Log:
Poll time and wait are both in milliseconds

Modified:
    tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java?rev=966596&r1=966595&r2=966596&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java Thu Jul 22 11:51:00 2010
@@ -964,7 +964,7 @@ public class AprEndpoint extends Abstrac
             // in the poller can cause problems
             try {
                 synchronized (this) {
-                    this.wait(pollTime / 1000);
+                    this.wait(pollTime);
                 }
             } catch (InterruptedException e) {
                 // Ignore
@@ -1223,7 +1223,7 @@ public class AprEndpoint extends Abstrac
             // in the poller can cause problems
             try {
                 synchronized (this) {
-                    this.wait(pollTime / 1000);
+                    this.wait(pollTime);
                 }
             } catch (InterruptedException e) {
                 // Ignore



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


Mime
View raw message