]> BookStack Code Mirror - bookstack/blob - app/Config/queue.php
Added 404 response for non-existing setting categories
[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             'table'        => 'jobs',
27             'queue'        => 'default',
28             'retry_after'  => 90,
29             'after_commit' => false,
30         ],
31
32         'redis' => [
33             'driver'       => 'redis',
34             'connection'   => 'default',
35             'queue'        => env('REDIS_QUEUE', 'default'),
36             'retry_after'  => 90,
37             'block_for'    => null,
38             'after_commit' => false,
39         ],
40
41     ],
42
43     // Failed queue job logging
44     'failed' => [
45         'driver'   => 'database-uuids',
46         'database' => 'mysql',
47         'table'    => 'failed_jobs',
48     ],
49
50 ];
Morty Proxy This is a proxified and sanitized view of the page, visit original site.