Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

102 lines
3.2 KiB
PHP
Raw Permalink Normal View History

2018-05-09 08:05:17 -05:00
<?php
2023-04-17 13:51:35 +02:00
/*
2019-02-14 08:08:38 -06:00
| !!!! DO NOT EDIT THIS FILE !!!!
|
| You can change settings by setting them in the environment or .env
| If there is something you need to change, but is not available as an environment setting,
| request an environment variable to be created upstream or send a pull request.
*/
2020-05-23 19:05:18 +02:00
2023-04-17 13:51:35 +02:00
return [
2018-05-09 08:05:17 -05:00
2023-04-17 13:51:35 +02:00
/*
2023-03-13 22:32:22 +01:00
|--------------------------------------------------------------------------
| Default Queue Connection Name
|--------------------------------------------------------------------------
|
| Laravel's queue API supports an assortment of back-ends via a single
| API, giving you convenient access to each back-end using the same
| syntax for every one. Here you may define a default connection.
|
*/
2018-05-09 08:05:17 -05:00
2023-04-17 13:51:35 +02:00
'default' => env('QUEUE_CONNECTION', 'sync'),
2018-05-09 08:05:17 -05:00
2023-04-17 13:51:35 +02:00
/*
2023-03-13 22:32:22 +01:00
|--------------------------------------------------------------------------
| Queue Connections
|--------------------------------------------------------------------------
|
| Here you may configure the connection information for each server that
| is used by your application. A default configuration has been added
| for each back-end shipped with Laravel. You are free to add more.
|
| Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "null"
|
*/
2018-05-09 08:05:17 -05:00
2023-04-17 13:51:35 +02:00
'connections' => [
2018-05-09 08:05:17 -05:00
2023-04-17 13:51:35 +02:00
'sync' => [
'driver' => 'sync',
],
2018-05-09 08:05:17 -05:00
2023-04-17 13:51:35 +02:00
'database' => [
'driver' => 'database',
'table' => 'jobs',
'queue' => 'default',
'retry_after' => 90,
'after_commit' => false,
],
2018-05-09 08:05:17 -05:00
2023-04-17 13:51:35 +02:00
'beanstalkd' => [
'driver' => 'beanstalkd',
'host' => 'localhost',
'queue' => 'default',
'retry_after' => 90,
'block_for' => 0,
'after_commit' => false,
],
2018-05-09 08:05:17 -05:00
2023-04-17 13:51:35 +02:00
'sqs' => [
'driver' => 'sqs',
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'),
'queue' => env('SQS_QUEUE', 'default'),
'suffix' => env('SQS_SUFFIX'),
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
'after_commit' => false,
],
2018-05-09 08:05:17 -05:00
2023-04-17 13:51:35 +02:00
'redis' => [
'driver' => 'redis',
'connection' => 'default',
'queue' => env('REDIS_QUEUE', 'default'),
'retry_after' => 90,
'block_for' => null,
'after_commit' => false,
],
2018-05-09 08:05:17 -05:00
2023-04-17 13:51:35 +02:00
],
2018-05-09 08:05:17 -05:00
2023-04-17 13:51:35 +02:00
/*
2023-03-13 22:32:22 +01:00
|--------------------------------------------------------------------------
| Failed Queue Jobs
|--------------------------------------------------------------------------
|
| These options configure the behavior of failed queue job logging so you
| can control which database and table are used to store the jobs that
| have failed. You may change them to any database / table you wish.
|
*/
2018-05-09 08:05:17 -05:00
2023-04-17 13:51:35 +02:00
'failed' => [
'driver' => env('QUEUE_FAILED_DRIVER', 'database-uuids'),
'database' => env('DB_CONNECTION', 'mysql'),
'table' => 'failed_jobs',
],
2018-05-09 08:05:17 -05:00
2023-04-17 13:51:35 +02:00
];