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 2026/06/15 17:09:49 UTC

(tomcat) branch 11.0.x updated: Avoid a second re-deploy because the timestamp hasn't been updated

This is an automated email from the ASF dual-hosted git repository.

markt-asf pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/11.0.x by this push:
     new cd14c0f896 Avoid a second re-deploy because the timestamp hasn't been updated
cd14c0f896 is described below

commit cd14c0f896d0bc410e25e977aeece185baefe775
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Jun 15 18:09:25 2026 +0100

    Avoid a second re-deploy because the timestamp hasn't been updated
---
 java/org/apache/catalina/ha/deploy/WarWatcher.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/java/org/apache/catalina/ha/deploy/WarWatcher.java b/java/org/apache/catalina/ha/deploy/WarWatcher.java
index 9e76491e30..2d0d2a0847 100644
--- a/java/org/apache/catalina/ha/deploy/WarWatcher.java
+++ b/java/org/apache/catalina/ha/deploy/WarWatcher.java
@@ -225,6 +225,7 @@ public class WarWatcher {
                 // file was added
                 result = 1;
                 lastState = result;
+                lastModified = war.lastModified();
             }
             return result;
         }


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