-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Update docs for queue
section
#3223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
||
* - ``connection`` | ||
* - ``database`` | ||
- Database connection used to store jobs. It must be | ||
a ``mongodb`` connection. The driver uses the default connection | ||
if a connection is not specified. | ||
|
||
* - ``collection`` | ||
* - ``table`` | ||
- Name of the MongoDB collection to store failed | ||
jobs. The value is ``failed_jobs`` by default. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
according to the registerFailedJobServices method in the QueueServiceProvider
class, the keys must be database
and table
instead of connections
and collection
.
Then, add the service provider in your application's | ||
``config/app.php`` file: | ||
|
||
.. code-block:: php | ||
|
||
MongoDB\Laravel\MongoDBQueueServiceProvider::class, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since it's removed in #3122
Thank you, but this doc update is already in progress in #3222. Closing as duplicate. |
Update the docs related to using MongoDB as the database for the Laravel queue.