aboutsummaryrefslogtreecommitdiffhomepage
path: root/config/queue.php
diff options
context:
space:
mode:
authorMarvin Borner2018-07-20 16:34:32 +0200
committerMarvin Borner2018-07-20 16:34:32 +0200
commit74cb1477bb921a2378ea22a552b71a48c11e0931 (patch)
tree621ab17315be667c16dad8f3d5f44d67a7a47e8f /config/queue.php
parent400591b34d4b0a6288834539808a9dede8a60e3a (diff)
Better API (integrated oauth completely)
Diffstat (limited to 'config/queue.php')
-rw-r--r--config/queue.php27
1 files changed, 13 insertions, 14 deletions
diff --git a/config/queue.php b/config/queue.php
index 391304f..d0f732a 100644
--- a/config/queue.php
+++ b/config/queue.php
@@ -4,12 +4,14 @@ return [
/*
|--------------------------------------------------------------------------
- | Default Queue Connection Name
+ | Default Queue Driver
|--------------------------------------------------------------------------
|
- | Laravel's queue API supports an assortment of back-ends via a single
+ | The Laravel queue API supports a variety of back-ends via an unified
| API, giving you convenient access to each back-end using the same
- | syntax for every one. Here you may define a default connection.
+ | syntax for each one. Here you may set the default queue driver.
+ |
+ | Supported: "null", "sync", "database", "beanstalkd", "sqs", "redis"
|
*/
@@ -24,8 +26,6 @@ return [
| 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"
- |
*/
'connections' => [
@@ -38,31 +38,30 @@ return [
'driver' => 'database',
'table' => 'jobs',
'queue' => 'default',
- 'retry_after' => 90,
+ 'expire' => 60,
],
'beanstalkd' => [
'driver' => 'beanstalkd',
'host' => 'localhost',
'queue' => 'default',
- 'retry_after' => 90,
+ 'ttr' => 60,
],
'sqs' => [
'driver' => 'sqs',
- 'key' => env('SQS_KEY', 'your-public-key'),
- 'secret' => env('SQS_SECRET', 'your-secret-key'),
- 'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'),
- 'queue' => env('SQS_QUEUE', 'your-queue-name'),
- 'region' => env('SQS_REGION', 'us-east-1'),
+ 'key' => 'your-public-key',
+ 'secret' => 'your-secret-key',
+ 'prefix' => 'https://sqs.us-east-1.amazonaws.com/your-account-id',
+ 'queue' => 'your-queue-name',
+ 'region' => 'us-east-1',
],
'redis' => [
'driver' => 'redis',
'connection' => 'default',
'queue' => 'default',
- 'retry_after' => 90,
- 'block_for' => null,
+ 'expire' => 60,
],
],