Updated entry Engine Enhancement, Optimize Task Claiming and SQL Construction on 2026-11-11

This commit is contained in:
Najib.El-Husseini committed 2026-11-11 10:02:42 +00:00
1 parent 9b662eac48
commit 9cac66a6cb
1 file changed
+8 -7
+8 -7
View File
@@ -1,18 +1,19 @@
### Optimize Task Claiming and SQL Construction ### Engine Enhancement, Optimize Task Claiming and SQL Construction
**Description** **Description**
- Handle stale integration task locks - Investigated task claiming behavior within the integration engine and identified an edge case preventing stale task recovery when IsRunningSince was NULL.
- Allow tasks with no IsRunning timestamp or a lock older than 60 minutes to be claimed - Enhanced lock acquisition logic to correctly reclaim orphaned tasks and improve scheduler reliability.
- Replace the constructed SQL with a raw string literal - Refactored SQL query construction by replacing legacy StringBuilder-based statements with modern raw string literals for improved readability and maintainability.
- Performed validation and regression testing to verify task execution, lock recovery, and overall engine stability.
**JIRA** **JIRA**
- No Jira Issue Linked! - No Jira Issue Linked!
**Author** **Author**
- Najib El-Husseini - Najib El-Husseini
**Type** **Type**
- Bug - Bug
**Date** **Date**
- 2026-11-11 - 2026-11-11