Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stale dequeues consider retries #60

Merged
merged 1 commit into from
Nov 12, 2024
Merged

Conversation

maxcountryman
Copy link
Owner

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.

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.
@maxcountryman maxcountryman merged commit eff6ea5 into main Nov 12, 2024
4 checks passed
@maxcountryman maxcountryman deleted the fix-stale-retry-awareness branch November 12, 2024 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant