7
votes

I am trying to configure my Laravel app so all my Laravel Queue Failed Jobs goes to Redis instead of mysql.

Currenly my jobs are configured to use redis but failed_jobs still goes to MySql Database

Didn't find anything on StackOverflow/Laravel

Laravel 5.4

Redis

PHP 7.0

Please help!

1

1 Answers

-2
votes

Check your settings in config/queue.php, you should find following values:

'failed' => [
    'database' => env('DB_CONNECTION', 'mysql'),
    'table' => env('QUEUE_FAILED_TABLE', 'failed_jobs'),
]

Change the connection and table on whatever you need.