Commit d9f9fc74 authored by Alex Renoki's avatar Alex Renoki

Fixed the failed configuration (#1830)

parent 922680d7
......@@ -1054,11 +1054,17 @@ If you want to use MongoDB to handle failed jobs, change the database in `config
```php
'failed' => [
'database' => 'mongodb',
'driver' => env('QUEUE_FAILED_DRIVER', 'database'),
'database' => env('DB_CONNECTION', 'mongodb'),
'table' => 'failed_jobs',
],
```
Or simply set your own `QUEUE_FAILED_DRIVER` environment variable to `mongodb`
```env
QUEUE_FAILED_DRIVER=mongodb
```
Last, add the service provider in `config/app.php`:
```php
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment