Author Name Chris Fidao Social Media Image by https://annieruygtillustration.com/ During a deployment, you likely restart your queue workers using something like artisan queue:restart or supervisorctl restart

When a SIGTERM or SIGQUIT signal is received, the worker waits until the currently processing job finishes before actually stopping.

If instead I send it signal SIGTERM, it will finish the job and then exit: # Start a worker php artisan queue:work

# Dispatch a job, and then # kill the worker with SIGTERM # Process ID 69679 in my case kill -s TERM 69679
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners