Skip to content

What is the correct way to cancel a task from within the task handler? #461

Answered by hibiken
strobus asked this question in Q&A
Discussion options

You must be logged in to vote

Would SkipRetry work for your use case?
See https://github.com/hibiken/asynq/wiki/Task-Retry#skip-retry for an example.
LMK if that works!

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@strobus
Comment options

@hibiken
Comment options

Answer selected by strobus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants