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

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


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

commit 7b430984c8f4d822f52776afc5572a2a33cb5ef5
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