From 0bcd012dc0abf47e5eee45daa6bfc0222e2971f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Olsen?= Date: Wed, 5 Apr 2023 17:03:08 +0200 Subject: [PATCH] Add job batching options to Queue configuration file (#6149) * add batching config options to queue config file This adds the batching configuration options to the queue configuration skeleton, so everyone has a faster way of knowing that it's possible to customize the database connection and table options. * formatting --------- Co-authored-by: Taylor Otwell --- config/queue.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/config/queue.php b/config/queue.php index 25ea5a81..01c6b054 100644 --- a/config/queue.php +++ b/config/queue.php @@ -73,6 +73,22 @@ ], + /* + |-------------------------------------------------------------------------- + | Job Batching + |-------------------------------------------------------------------------- + | + | The following options configure the database and table that store job + | batching information. These options can be updated to any database + | connection and table which has been defined by your application. + | + */ + + 'batching' => [ + 'database' => env('DB_CONNECTION', 'mysql'), + 'table' => 'job_batches', + ], + /* |-------------------------------------------------------------------------- | Failed Queue Jobs