php artisan queue:work killed

This forum covers all versions of Laravel.
Post Reply
User avatar
Site Admin
Posts: 1627
Joined: Thu Mar 22, 2018 10:19 am

php artisan queue:work killed

Post by Administrator » Fri Nov 15, 2019 7:59 pm

if your getting a killed message from the artisan command queue:work it could be because the script has timed out.
php artisan queue:work
php artisan queue:work --timeout=120
By default, the timeout is 60 seconds, so we forcefully override the timeout as mentioned above

or set in the job class it self

Code: Select all

     * The number of seconds the job can run before timing out.
     * @var int
    public $timeout = 120;

Post Reply