Files
hatchet/sql
Mohammed Nafees 344d7fa00f Attempt to fix deadlock in PollScheduledWorkflows by scoping FOR UPDATE lock (#3261)
* make sure skip locked semantics is meaningful

* fix: order by cond

* fix: refs

* chore: decrease diff size

* fix: run triggered by not exists instead of left join

* feat: add index for polling

* chore: schema

* fix: make cte doing the filtering also do the locking

* fix: one more cte fix

* fix: rm dupe for update lock

* fix: order by

---------

Co-authored-by: mrkaye97 <mrkaye97@gmail.com>
2026-03-13 11:04:32 -04:00
..
2025-03-11 14:57:13 -04:00