queue:restart killing workers?
Hello
I have been working with queues for some time. Yesterday I had to deploy a new version in my app in order to correct a bug. After I deployed, I had to use
php artisan queue:restart
Looking the documentation:
This command will gracefully instruct all queue workers to "die"
AFTER THEY FINISH PROCESSING THEIR CURRENT JOB SO THAT NO EXISTING JOBS ARE LOST.
Remember, the queue workers will die when the queue:restart command is executed, so you should be running a process manager such as Supervisor which automatically restarts the queue workers.
I don´t know if I´m getting the wrong way. Workers die after the finish their current job. But, yesterday is like they died and did not finish their current job.
I had to say that I´m firing a jar file with the job.
I hope somebody can help me and thank you.
Please or to participate in this conversation.