Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Closed
hans-thomas wants to merge 1 commit into mongodb:5.x from hans-thomas:issue-3000
Closed

Conversation

@hans-thomas
Copy link
Contributor

@hans-thomas hans-thomas commented Nov 29, 2024

Update the docs related to using MongoDB as the database for the Laravel queue.

Comment on lines 88 to 97

* - ``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.

Copy link
Contributor Author

@hans-thomas hans-thomas Nov 29, 2024

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.

Comment on lines -98 to -104
Then, add the service provider in your application's
``config/app.php`` file:

.. code-block:: php

MongoDB\Laravel\MongoDBQueueServiceProvider::class,

Copy link
Contributor Author

@hans-thomas hans-thomas Nov 29, 2024

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

Copy link
Member

GromNaN commented Nov 29, 2024

Thank you, but this doc update is already in progress in #3222. Closing as duplicate.

hans-thomas reacted with thumbs up emoji

@hans-thomas hans-thomas deleted the issue-3000 branch November 29, 2024 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@rustagir rustagir Awaiting requested review from rustagir rustagir is a code owner automatically assigned from mongodb/laravel-docs

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /