You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2015/01/27 20:38:37 UTC
svn commit: r1655130 -
/tomcat/trunk/java/org/apache/catalina/webresources/AbstractArchiveResourceSet.java
Author: markt
Date: Tue Jan 27 19:38:36 2015
New Revision: 1655130
URL: http://svn.apache.org/r1655130
Log:
Skip the delay check. backgroundProcess() doesn't run that often and the
delay makes it less useful if a component wants to call it directly
(e.g. the context once start has completed)
Modified:
tomcat/trunk/java/org/apache/catalina/webresources/AbstractArchiveResourceSet.java
Modified: tomcat/trunk/java/org/apache/catalina/webresources/AbstractArchiveResourceSet.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/webresources/AbstractArchiveResourceSet.java?rev=1655130&r1=1655129&r2=1655130&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/webresources/AbstractArchiveResourceSet.java (original)
+++ tomcat/trunk/java/org/apache/catalina/webresources/AbstractArchiveResourceSet.java Tue Jan 27 19:38:36 2015
@@ -298,8 +298,7 @@ public abstract class AbstractArchiveRes
@Override
public void backgroundProcess() {
synchronized (archiveLock) {
- if (archive != null && archiveUseCount == 0 &&
- (System.currentTimeMillis() - archiveLastUsed) > 1000) {
+ if (archive != null && archiveUseCount == 0) {
try {
archive.close();
} catch (IOException e) {
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org