Laravel 5.1 failed queued jobs fails on failed() method, prevents queue failure event handler from being called
问题 I am testing the queue functions in Laravel 5.1. I can make jobs queue up in my db table, called jobs, and I can get them to run successfully. I also created a queue failure table called failed_jobs. To test it, inside the jobs table I manipulate the payload data to make it fail then I run the queue worker daemon like so, so it will put the job in the failed_jobs table after one failed attempt: php artisan queue:work --daemon --tries=1 --queue=myqueue When the job fails it is immediately put