X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/f139cded789908efce3ac2ed1be26b947df647db..refs/pull/5676/head:/app/Config/queue.php diff --git a/app/Config/queue.php b/app/Config/queue.php index 0f5ee3ce5..08f3a5baa 100644 --- a/app/Config/queue.php +++ b/app/Config/queue.php @@ -11,7 +11,7 @@ return [ // Default driver to use for the queue - // Options: null, sync, redis + // Options: sync, database, redis 'default' => env('QUEUE_CONNECTION', 'sync'), // Queue connection configuration @@ -23,6 +23,7 @@ return [ 'database' => [ 'driver' => 'database', + 'connection' => null, 'table' => 'jobs', 'queue' => 'default', 'retry_after' => 90, @@ -40,6 +41,12 @@ return [ ], + // Job batching + 'batching' => [ + 'database' => 'mysql', + 'table' => 'job_batches', + ], + // Failed queue job logging 'failed' => [ 'driver' => 'database-uuids',