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 <[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 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to