@@ -69,7 +69,7 @@ collection:
69
69
'failed' => [
70
70
'driver' => 'mongodb',
71
71
'database' => 'mongodb',
72
- 'collection ' => 'failed_jobs',
72
+ 'table ' => 'failed_jobs',
73
73
],
74
74
75
75
The following table describes properties that you can specify to configure
@@ -86,22 +86,15 @@ how to handle failed jobs:
86
86
- **Required** Queue driver to use. The value of
87
87
this property must be ``mongodb``.
88
88
89
- * - ``connection ``
89
+ * - ``database ``
90
90
- Database connection used to store jobs. It must be
91
91
a ``mongodb`` connection. The driver uses the default connection
92
92
if a connection is not specified.
93
93
94
- * - ``collection ``
94
+ * - ``table ``
95
95
- Name of the MongoDB collection to store failed
96
96
jobs. The value is ``failed_jobs`` by default.
97
97
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
-
105
98
Job Batching
106
99
------------
107
100
@@ -141,12 +134,12 @@ job batching:
141
134
- **Required** Queue driver to use. The value of
142
135
this property must be ``mongodb``.
143
136
144
- * - ``connection ``
137
+ * - ``database ``
145
138
- Database connection used to store jobs. It must be a
146
139
``mongodb`` connection. The driver uses the default connection if
147
140
a connection is not specified.
148
141
149
- * - ``collection ``
142
+ * - ``table ``
150
143
- Name of the MongoDB collection to store job
151
144
batches. The value is ``job_batches`` by default.
152
145
0 commit comments