This is an automated email from the ASF dual-hosted git repository.
nmalin pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push:
new 0e91cc344f Fixed: Add new attributes on service-config.xsd
(OFBIZ-13383)
0e91cc344f is described below
commit 0e91cc344f43f4745994fad14bd2e6e6764e62b4
Author: Nicolas Malin <[email protected]>
AuthorDate: Thu Jun 11 10:41:57 2026 +0200
Fixed: Add new attributes on service-config.xsd (OFBIZ-13383)
After new introduction of attributes lease-refresh-millis,
lease-validation-millis and lease-expiry-millis on thread-pool element, add
them to the service-config.xsd
---
framework/service/dtd/service-config.xsd | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/framework/service/dtd/service-config.xsd
b/framework/service/dtd/service-config.xsd
index f15d66b8ea..67d960ee86 100644
--- a/framework/service/dtd/service-config.xsd
+++ b/framework/service/dtd/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>