mardi 18 juillet 2017

How to run job on multiple server run queue in laravel 5?

I have 3 servers, the queue connection with redis. The first server, i pushing jobs "JobName" onto the queue. The second and third server, i run suppervisior with command is:
"php artisan queue:work redis --queue=JobName --sleep=3 --tries=1 --daemon"

However, job was handled two times. How to second and third server run all job in the first server and not handle job same?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2u3T0GZ
via IFTTT

Aucun commentaire:

Enregistrer un commentaire