tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1528258 - /tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java
Date Tue, 01 Oct 2013 22:59:32 GMT
Author: markt
Date: Tue Oct  1 22:59:31 2013
New Revision: 1528258

URL: http://svn.apache.org/r1528258
Log:
Async timeouts are checked roughly once a second. Check connection and keep-alive timeouts
using the same period (rather than roughly every 5s)

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=1528258&r1=1528257&r2=1528258&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java Tue Oct  1 22:59:31 2013
@@ -1580,9 +1580,9 @@ public class AprEndpoint extends Abstrac
         private void maintain() {
 
             long date = System.currentTimeMillis();
-            // Maintain runs at most once every 5s, although it will likely get
+            // Maintain runs at most once every 1s, although it will likely get
             // called more
-            if ((date - lastMaintain) < 5000L) {
+            if ((date - lastMaintain) < 1000L) {
                 return;
             } else {
                 lastMaintain = date;



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


Mime
View raw message