]> BookStack Code Mirror - bookstack/blob - config/queue.php
Merge branch 'master' into patch-5
[bookstack] / 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: null, sync, redis
15     'default' => env('QUEUE_DRIVER', '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             'expire' => 60,
29         ],
30
31         'beanstalkd' => [
32             'driver' => 'beanstalkd',
33             'host'   => 'localhost',
34             'queue'  => 'default',
35             'ttr'    => 60,
36         ],
37
38         'sqs' => [
39             'driver' => 'sqs',
40             'key'    => 'your-public-key',
41             'secret' => 'your-secret-key',
42             'queue'  => 'your-queue-url',
43             'region' => 'us-east-1',
44         ],
45
46         'iron' => [
47             'driver'  => 'iron',
48             'host'    => 'mq-aws-us-east-1.iron.io',
49             'token'   => 'your-token',
50             'project' => 'your-project-id',
51             'queue'   => 'your-queue-name',
52             'encrypt' => true,
53         ],
54
55         'redis' => [
56             'driver' => 'redis',
57             'connection' => 'default',
58             'queue'  => 'default',
59             'expire' => 60,
60         ],
61
62     ],
63
64     // Failed queue job logging
65     'failed' => [
66         'database' => 'mysql', 'table' => 'failed_jobs',
67     ],
68
69 ];
Morty Proxy This is a proxified and sanitized view of the page, visit original site.