Is it possible to send a stop signal to the worker in such a way, that it will stop only AFTER processing the job.
Currently I have a job, that takes some time AND can't be interrupted, cause I have only one try/attempt.
Sometimes I need to stop workers to redeploy my code. Is there a way to stop Laravel's worker only after finishing current job and before starting a new one?
I'm using supervisor
for restarting the queue workers.
Cause currently on each deploy I'm loosing 1 job and my client loses money :(
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire