]> BookStack Code Mirror - bookstack/blob - app/Config/queue.php
Framework: Performed Laravel 11 upgrade guide steps
[bookstack] / app / Config / queue.php
1 <?php
2
3 /**
4  * Queue configuration options.
5  *
6  * Changes to these config files are not supported by BookStack and may break upon updates.
7  * Configuration should be altered via the `.env` file or environment variables.
8  * Do not edit this file unless you're happy to maintain any changes yourself.
9  */
10
11 return [
12
13     // Default driver to use for the queue
14     // Options: sync, database, redis
15     'default' => env('QUEUE_CONNECTION', 'sync'),
16
17     // Queue connection configuration
18     'connections' => [
19
20         'sync' => [
21             'driver' => 'sync',
22         ],
23
24         'database' => [
25             'driver'       => 'database',
26             'connection'   => null,
27             'table'        => 'jobs',
28             'queue'        => 'default',
29             'retry_after'  => 90,
30             'after_commit' => false,
31         ],
32
33         'redis' => [
34             'driver'       => 'redis',
35             'connection'   => 'default',
36             'queue'        => env('REDIS_QUEUE', 'default'),
37             'retry_after'  => 90,
38             'block_for'    => null,
39             'after_commit' => false,
40         ],
41
42     ],
43
44     // Job batching
45     'batching' => [
46         'database' => 'mysql',
47         'table' => 'job_batches',
48     ],
49
50     // Failed queue job logging
51     'failed' => [
52         'driver'   => 'database-uuids',
53         'database' => 'mysql',
54         'table'    => 'failed_jobs',
55     ],
56
57 ];