--- ### Optimize Task Claiming and SQL Construction **Description** - Handle stale integration task locks - Allow tasks with no IsRunning timestamp or a lock older than 60 minutes to be claimed - Replace the constructed SQL with a raw string literal **JIRA** - No Jira Ticket Found! **Author** - Najib El-Husseini **Type** - Bug **Date** - 2026-11-11 **Implementation Hours** - 1.5