laravel会把执行失败的job放到failed_job表里,payload存储了job的信息,我们需要还原job里的对象分析失败原因。
队列可能会失败
我们可以在config/queue.php中设置
```
'failed' => [
'driver' => env('QUEUE_FAILED_DRIVER', 'database'),
'database' => env('DB_CONNECTION', 'mysql'),
'table' => 'failed_jobs',
],
```
`https://blog.csdn.net/weixin_35475608/article/details/114319365`
`https://www.jianshu.com/p/876aca355a79`
`https://www.cnblogs.com/polax/p/13406143.html`