@@ -69,7 +69,7 @@ collection:
6969 'failed' => [
7070 'driver' => 'mongodb',
7171 'database' => 'mongodb',
72- 'collection ' => 'failed_jobs',
72+ 'table ' => 'failed_jobs',
7373 ],
7474
7575The 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-
10598Job 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