Why are my Laravel Queue Jobs failing after 60 seconds?
This will work
php artisan queue:listen --timeout=1200
Adjust the time based on your need
Important note: "expire" is now called "retry_after" (Laravel 5.4)
It turns out that in addition to timeout there is an expire
setting defined in config/queue.php
'database' => [
'driver' => 'database',
'table' => 'jobs',
'queue' => 'default',
'expire' => 60,
],
Changing that to a higher value did the trick.
UPDATE: This parameter is now called retry_after
'database' => [
'driver' => 'database',
'table' => 'jobs',
'queue' => 'default',
'retry_after' => 60,
],