Minion: Fail early #1662
Unanswered
augensalat
asked this question in
Q&A
Replies: 1 comment 5 replies
-
You have to |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My application has to check a remote service that processes some long running task and eventually returns success or failure.
For that a minion task is enqueued with
attempts => 15
.$job->finish
terminates the job on my side.failed
state.failed
state and keep it from further attempts, but currently I do not find a way to accomplish this - calling$job->fail
and i.e. settingattempts = 1
does not seem possible - the only way that seems to work is$job->finish
, which means success.Am I just missing the right button or is not possible?
Beta Was this translation helpful? Give feedback.
All reactions