-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stale dequeues consider retries (#60)
This fixes an issue where dequeuing a stall retry would not consider if the related task had available retries or not. To address this we rework the dequeue query to check the retry record directly as part of the condition for selecting a stale task. We also provide an update over attempt rows when a task row is selected to ensure that prior in-progress attempts are marked as failed.
- Loading branch information
1 parent
9ed6ca0
commit eff6ea5
Showing
4 changed files
with
167 additions
and
11 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
.sqlx/query-56a0f6c70e41d1b89d0b16a4cbbb989aa3da718f76f4f4abf8794e538c4ed2b8.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...dccb8d22d4591ba8920691213829c0a11622.json → ...2f744c70fce710c52ea542f38eff0d7100e5.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
49 changes: 49 additions & 0 deletions
49
.sqlx/query-a288070a7d1f34fd78d382dc3757557b3f674dd9c46067ed80232cbfbbd56a98.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters