mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-25 23:15:51 +03:00
[GH-ISSUE #751] [BUG] Task retried after deadline #2394
Labels
No labels
CLI
bug
designing
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
idea
invalid
investigate
needs-more-info
performance
pr-welcome
pull-request
question
wontfix
work in progress
work in progress
work-around-available
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynq#2394
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @am-fmc on GitHub (Sep 26, 2023).
Original GitHub issue: https://github.com/hibiken/asynq/issues/751
Originally assigned to: @hibiken on GitHub.
Describe the bug
If the server takes a task with an expired deadline it moves the task to be retried. It has no sense, a task with a expired deadline shouldn’t be retried. Also the handler is no executed so i don’t have the chance of do something with the task
To Reproduce
Expected behavior
If the task has an expired deadline an special handler should be executed. It shouldn’t be retried
@kamikazechaser commented on GitHub (Sep 26, 2023):
Possible issue with
processor.handleFailedMessage@saurori commented on GitHub (Dec 31, 2023):
I also encountered this behavoir and it doesn't really make sense. However, this may be working as intended as described in the CHANGELOG. But there is no way to even handle the retry, it just gets stuck in a loop.