Poll time and wait are both in milliseconds
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 22 Jul 2010 11:51:00 +0000 (11:51 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 22 Jul 2010 11:51:00 +0000 (11:51 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@966596 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/tomcat/util/net/AprEndpoint.java

index c5fd027..822347a 100644 (file)
@@ -964,7 +964,7 @@ public class AprEndpoint extends AbstractEndpoint {
             // 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 AbstractEndpoint {
             // in the poller can cause problems
             try {
                 synchronized (this) {
-                    this.wait(pollTime / 1000);
+                    this.wait(pollTime);
                 }
             } catch (InterruptedException e) {
                 // Ignore