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 <taylor@laravel.com>
This commit is contained in:
André Olsen 2023-04-05 17:03:08 +02:00 committed by GitHub
parent 9184b21213
commit 0bcd012dc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,6 +73,22 @@ return [
],
/*
|--------------------------------------------------------------------------
| 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