From 74cb1477bb921a2378ea22a552b71a48c11e0931 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 20 Jul 2018 16:34:32 +0200 Subject: Better API (integrated oauth completely) --- config/queue.php | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) (limited to 'config/queue.php') 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, ], ], -- cgit v1.2.3