From a736b309e0fba8a585845670b7ce98adafd37779 Mon Sep 17 00:00:00 2001 From: Mohammad Mortazavi Date: Fri, 29 Nov 2024 15:03:13 +0330 Subject: [PATCH] Update queues.txt --- docs/queues.txt | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/docs/queues.txt b/docs/queues.txt index 5e25d868b..dce89c066 100644 --- a/docs/queues.txt +++ b/docs/queues.txt @@ -69,7 +69,7 @@ collection: 'failed' => [ 'driver' => 'mongodb', 'database' => 'mongodb', - 'collection' => 'failed_jobs', + 'table' => 'failed_jobs', ], The following table describes properties that you can specify to configure @@ -86,22 +86,15 @@ how to handle failed jobs: - **Required** Queue driver to use. The value of this property must be ``mongodb``. - * - ``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. -Then, add the service provider in your application's -``config/app.php`` file: - -.. code-block:: php - - MongoDB\Laravel\MongoDBQueueServiceProvider::class, - Job Batching ------------ @@ -141,12 +134,12 @@ job batching: - **Required** Queue driver to use. The value of this property must be ``mongodb``. - * - ``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 job batches. The value is ``job_batches`` by default.