]> BookStack Code Mirror - bookstack/blobdiff - app/Config/queue.php
Tests: Updated comment test to account for new editor usage
[bookstack] / app / Config / queue.php
index 0f5ee3ce594432d563527cf577948448c367a8a7..08f3a5baab59526afc8fe47ecb0942f4aee905a2 100644 (file)
@@ -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',