]> git.localhorst.tv Git - alttp.git/blob - config/queue.php
use slug for SG twitch channels
[alttp.git] / config / queue.php
1 <?php
2
3 return [
4
5     /*
6     |--------------------------------------------------------------------------
7     | Default Queue Connection Name
8     |--------------------------------------------------------------------------
9     |
10     | Laravel's queue API supports an assortment of back-ends via a single
11     | API, giving you convenient access to each back-end using the same
12     | syntax for every one. Here you may define a default connection.
13     |
14     */
15
16     'default' => env('QUEUE_CONNECTION', 'sync'),
17
18     /*
19     |--------------------------------------------------------------------------
20     | Queue Connections
21     |--------------------------------------------------------------------------
22     |
23     | Here you may configure the connection information for each server that
24     | is used by your application. A default configuration has been added
25     | for each back-end shipped with Laravel. You are free to add more.
26     |
27     | Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "null"
28     |
29     */
30
31     'connections' => [
32
33         'sync' => [
34             'driver' => 'sync',
35         ],
36
37         'database' => [
38             'driver' => 'database',
39             'table' => 'jobs',
40             'queue' => 'default',
41             'retry_after' => 90,
42             'after_commit' => false,
43         ],
44
45         'beanstalkd' => [
46             'driver' => 'beanstalkd',
47             'host' => 'localhost',
48             'queue' => 'default',
49             'retry_after' => 90,
50             'block_for' => 0,
51             'after_commit' => false,
52         ],
53
54         'sqs' => [
55             'driver' => 'sqs',
56             'key' => env('AWS_ACCESS_KEY_ID'),
57             'secret' => env('AWS_SECRET_ACCESS_KEY'),
58             'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'),
59             'queue' => env('SQS_QUEUE', 'default'),
60             'suffix' => env('SQS_SUFFIX'),
61             'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
62             'after_commit' => false,
63         ],
64
65         'redis' => [
66             'driver' => 'redis',
67             'connection' => 'default',
68             'queue' => env('REDIS_QUEUE', 'default'),
69             'retry_after' => 90,
70             'block_for' => null,
71             'after_commit' => false,
72         ],
73
74     ],
75
76     /*
77     |--------------------------------------------------------------------------
78     | Failed Queue Jobs
79     |--------------------------------------------------------------------------
80     |
81     | These options configure the behavior of failed queue job logging so you
82     | can control which database and table are used to store the jobs that
83     | have failed. You may change them to any database / table you wish.
84     |
85     */
86
87     'failed' => [
88         'driver' => env('QUEUE_FAILED_DRIVER', 'database-uuids'),
89         'database' => env('DB_CONNECTION', 'mysql'),
90         'table' => 'failed_jobs',
91     ],
92
93 ];