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
Uh oh!
There was an error while loading. Please reload this page.
-
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->finishterminates the job on my side.failedstate.failedstate and keep it from further attempts, but currently I do not find a way to accomplish this - calling$job->failand i.e. settingattempts = 1does 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