Skip to content

Commit a736b30

Browse files
committed
Update queues.txt
1 parent dc2a19d commit a736b30

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

docs/queues.txt

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ collection:
6969
'failed' => [
7070
'driver' => 'mongodb',
7171
'database' => 'mongodb',
72-
'collection' => 'failed_jobs',
72+
'table' => 'failed_jobs',
7373
],
7474

7575
The following table describes properties that you can specify to configure
@@ -86,22 +86,15 @@ how to handle failed jobs:
8686
- **Required** Queue driver to use. The value of
8787
this property must be ``mongodb``.
8888

89-
* - ``connection``
89+
* - ``database``
9090
- Database connection used to store jobs. It must be
9191
a ``mongodb`` connection. The driver uses the default connection
9292
if a connection is not specified.
9393

94-
* - ``collection``
94+
* - ``table``
9595
- Name of the MongoDB collection to store failed
9696
jobs. The value is ``failed_jobs`` by default.
9797

98-
Then, add the service provider in your application's
99-
``config/app.php`` file:
100-
101-
.. code-block:: php
102-
103-
MongoDB\Laravel\MongoDBQueueServiceProvider::class,
104-
10598
Job Batching
10699
------------
107100

@@ -141,12 +134,12 @@ job batching:
141134
- **Required** Queue driver to use. The value of
142135
this property must be ``mongodb``.
143136

144-
* - ``connection``
137+
* - ``database``
145138
- Database connection used to store jobs. It must be a
146139
``mongodb`` connection. The driver uses the default connection if
147140
a connection is not specified.
148141

149-
* - ``collection``
142+
* - ``table``
150143
- Name of the MongoDB collection to store job
151144
batches. The value is ``job_batches`` by default.
152145

0 commit comments

Comments
 (0)