Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
laravel-mongodb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sinan
laravel-mongodb
Commits
d9f9fc74
Commit
d9f9fc74
authored
Jan 22, 2020
by
Alex Renoki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed the failed configuration (#1830)
parent
922680d7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
README.md
README.md
+7
-1
No files found.
README.md
View file @
d9f9fc74
...
@@ -1054,11 +1054,17 @@ If you want to use MongoDB to handle failed jobs, change the database in `config
...
@@ -1054,11 +1054,17 @@ If you want to use MongoDB to handle failed jobs, change the database in `config
```
php
```
php
'failed'
=>
[
'failed'
=>
[
'database'
=>
'mongodb'
,
'driver'
=>
env
(
'QUEUE_FAILED_DRIVER'
,
'database'
),
'database'
=>
env
(
'DB_CONNECTION'
,
'mongodb'
),
'table'
=>
'failed_jobs'
,
'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`
:
Last, add the service provider in
`config/app.php`
:
```
php
```
php
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment