-
Certain conditions may be present in an application that would make it unable to continue with a task. Retries would be futile. In this case I need to cancel the task from within the handler. Is there a proper way to do this within the Asynq API? |
Beta Was this translation helpful? Give feedback.
Answered by
hibiken
May 12, 2022
Replies: 1 comment 2 replies
-
Would |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
strobus
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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!