mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-25 23:15:51 +03:00
[GH-ISSUE #987] Task always retry when canceled #2501
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#2501
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 @thedmdim on GitHub (Dec 16, 2024).
Original GitHub issue: https://github.com/hibiken/asynq/issues/987
Originally assigned to: @hibiken, @kamikazechaser on GitHub.
Hi everyone!
I need to cancel my task without retry. I call
CancelProcessingfor this.CancelProcessingcalls task'scancelfunction. At my handler I do this:But this does no effect as far as at
processor.goatcase <-ctx.Done()read from channel occurs beforecase resErr := <-resChAnd due to this we have no opportunity to skip retry when publish cancelation, is this right?
@kamikazechaser commented on GitHub (Dec 16, 2024):
Possibly the same as #968
@thedmdim commented on GitHub (Dec 16, 2024):
Fixed this at #988