Handle long running beanstalkd job

Table of contents

beanstalk

When a job is reserved, it can be put back into the ready queue when it times out. If you have a very long-running job, you may find yourself in the situation when the job is put back when it is still being run by a worker.

You can bury the job after reserving it. Once your worker finishes with the job, it can either kick or delete the job.

Share