Please sign in to comment.
The worker does not send job_fail anymore
This was required because job_fail will not allow us to return the output of the failed job back to the client (job.py). This is a problem because gearman protocol does not support it. So what we did is, we make the worker always return a success but add a failure return code to the output (json format) that is passed to the client. The client checks the rc from the output to determin is the job failed or succeeded.
- Loading branch information...
Showing with 13 additions and 9 deletions.