I am running a queue process using Amazons SQS
and a separate machine that processes the jobs (a worker). I am also using the supervisor
to make sure the queue:listen
is always running on the worker machine, yet when I define numprocs=8
(like the example on laravel's website) jobs are being executed more than once hence emails are being sent couple of times etc'.
Any Idea how can I make sure a job is executed only once even if I am running multiple worker processes and machines?