You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by nm...@apache.org on 2026/06/11 08:47:10 UTC

(ofbiz-site) branch master updated: Improved: update service-config.xsd after improvement 'Handle and resume stale jobs in case of application node(s) running with Auto-scaling enabled (OFBIZ-13383)'

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

nmalin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ofbiz-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 8c624cd  Improved: update service-config.xsd after improvement 'Handle and resume stale jobs in case of application node(s) running with Auto-scaling enabled (OFBIZ-13383)'
8c624cd is described below

commit 8c624cd840bb07f7379ae0d00488e09ccd7133ca
Author: Nicolas Malin <ni...@nereide.fr>
AuthorDate: Thu Jun 11 10:46:45 2026 +0200

    Improved: update service-config.xsd after improvement 'Handle and resume stale jobs in case of application node(s) running with Auto-scaling enabled (OFBIZ-13383)'
---
 dtds/service-config.xsd | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/dtds/service-config.xsd b/dtds/service-config.xsd
index f15d66b..67d960e 100644
--- a/dtds/service-config.xsd
+++ b/dtds/service-config.xsd
@@ -168,6 +168,33 @@ under the License.
                     </xs:documentation>
                 </xs:annotation>
             </xs:attribute>
+            <xs:attribute name="lease-refresh-millis" type="xs:nonNegativeInteger">
+                <xs:annotation>
+                    <xs:documentation>
+                        Refresh interval in milliseconds. Defaults to "300000" (5 minutes)
+                        At each interval, when the job poller loops,
+                        all running jobs will update their leaseUpdatedStamp field with now.
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:attribute>
+            <xs:attribute name="lease-validation-millis" type="xs:nonNegativeInteger">
+                <xs:annotation>
+                    <xs:documentation>
+                        Validation interval in milliseconds. Defaults to "480000" (8 minutes)
+                        At each interval, when the job poller loops,
+                        the job manager checks running jobs to detect potential stuck job.
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:attribute>
+            <xs:attribute name="lease-expiry-millis" type="xs:nonNegativeInteger">
+                <xs:annotation>
+                    <xs:documentation>
+                        Expire interval in milliseconds. Defaults to "600000" (10 minutes)
+                        During lease validation process, if a job is stuck longer than lease-expiry-millis duration,
+                        (now - job.leaseUpdatedStamp > lease-expiry-millis) it'll be reset.
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:attribute>
         </xs:complexType>
     </xs:element>