Closed edwardmp closed 7 years ago
@edwardmp you need to use beanstalk.reserve()
to receive the job from beanstalk.
peek_ready()
allows you to peek at a job but it doesn't reserve it. It's then possible that another process picks it up, handles it and deletes it before this code does.
@svisser Thanks, I see I already changed my code in the meantime to accomodate for that. Closing this issue.
@edwardmp How did you solve this issue?
@SumedhaJagtap I did exactly what @svisser said above ;)
Hi,
I'm getting the following stacktrace after I call the delete method on a job:
My code (simplified):