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

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


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

commit d68aad370880f35e659768e03d59a61424ca9883
Author: Mark Thomas <[email protected]>
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 c76fbb7475..4b48fab6f6 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to