laravel/config/queue.php

86 lines
2.4 KiB
PHP
Raw Normal View History

<?php
2014-08-24 14:03:58 -05:00
return [
2015-02-22 20:47:03 -06:00
/*
|--------------------------------------------------------------------------
| Default Queue Driver
|--------------------------------------------------------------------------
|
2017-01-21 10:15:05 -06:00
| Laravel's queue API supports an assortment of back-ends via a single
2015-02-22 20:47:03 -06:00
| API, giving you convenient access to each back-end using the same
| syntax for each one. Here you may set the default queue driver.
|
| Supported: "sync", "database", "beanstalkd", "sqs", "redis", "null"
2015-02-22 20:47:03 -06:00
|
*/
2015-02-22 20:47:03 -06:00
'default' => env('QUEUE_DRIVER', 'sync'),
2015-02-22 20:47:03 -06: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.
|
*/
2015-02-22 20:47:03 -06:00
'connections' => [
2015-02-22 20:47:03 -06:00
'sync' => [
'driver' => 'sync',
],
2015-02-22 20:47:03 -06:00
'database' => [
'driver' => 'database',
2016-03-01 08:23:00 -06:00
'table' => 'jobs',
'queue' => 'default',
'retry_after' => 90,
2015-02-22 20:47:03 -06:00
],
2014-12-19 16:00:18 -06:00
2015-02-22 20:47:03 -06:00
'beanstalkd' => [
'driver' => 'beanstalkd',
2016-03-01 08:23:00 -06:00
'host' => 'localhost',
'queue' => 'default',
'retry_after' => 90,
2015-02-22 20:47:03 -06:00
],
2015-02-22 20:47:03 -06:00
'sqs' => [
'driver' => 'sqs',
2016-03-01 08:23:00 -06:00
'key' => 'your-public-key',
2015-02-22 20:47:03 -06:00
'secret' => 'your-secret-key',
'prefix' => 'https://sqs.us-east-1.amazonaws.com/your-account-id',
2016-03-01 08:23:00 -06:00
'queue' => 'your-queue-name',
2015-02-22 20:47:03 -06:00
'region' => 'us-east-1',
],
2013-02-12 22:23:48 -06:00
2015-02-22 20:47:03 -06:00
'redis' => [
2016-03-01 08:23:00 -06:00
'driver' => 'redis',
2015-02-24 20:07:09 -06:00
'connection' => 'default',
2016-03-01 08:23:00 -06:00
'queue' => 'default',
'retry_after' => 90,
2015-02-22 20:47:03 -06:00
],
2013-11-26 10:11:29 -06:00
2015-02-22 20:47:03 -06:00
],
2013-11-26 10:11:29 -06:00
2015-02-22 20:47:03 -06: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.
|
*/
2013-11-26 10:11:29 -06:00
2015-02-22 20:47:03 -06:00
'failed' => [
2015-10-30 18:19:00 +00:00
'database' => env('DB_CONNECTION', 'mysql'),
2016-03-01 08:23:00 -06:00
'table' => 'failed_jobs',
2015-02-22 20:47:03 -06:00
],
2013-10-18 07:23:00 +05:30
2014-08-24 14:03:58 -05:00
];