2013-01-28 11:58:38 -06:00
|
|
|
<?php
|
|
|
|
|
2014-08-24 14:03:58 -05:00
|
|
|
return [
|
2013-01-28 11:58:38 -06:00
|
|
|
|
2015-02-22 20:47:03 -06:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Default Queue Driver
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| 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 each one. Here you may set the default queue driver.
|
|
|
|
|
|
2016-04-05 11:15:06 +01:00
|
|
|
| Supported: "null", "sync", "database", "beanstalkd", "sqs", "redis"
|
2015-02-22 20:47:03 -06:00
|
|
|
|
|
|
|
|
*/
|
2013-01-28 11:58:38 -06:00
|
|
|
|
2015-02-22 20:47:03 -06:00
|
|
|
'default' => env('QUEUE_DRIVER', 'sync'),
|
2013-01-28 11:58:38 -06:00
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
*/
|
2013-01-28 11:58:38 -06:00
|
|
|
|
2015-02-22 20:47:03 -06:00
|
|
|
'connections' => [
|
2013-01-28 11:58:38 -06:00
|
|
|
|
2015-02-22 20:47:03 -06:00
|
|
|
'sync' => [
|
|
|
|
'driver' => 'sync',
|
|
|
|
],
|
2013-01-28 11:58:38 -06:00
|
|
|
|
2015-02-22 20:47:03 -06:00
|
|
|
'database' => [
|
|
|
|
'driver' => 'database',
|
2016-03-01 08:23:00 -06:00
|
|
|
'table' => 'jobs',
|
|
|
|
'queue' => 'default',
|
2016-07-22 14:53:03 -05:00
|
|
|
'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',
|
2016-07-22 14:53:03 -05:00
|
|
|
'retry_after' => 90,
|
2015-02-22 20:47:03 -06:00
|
|
|
],
|
2013-01-28 11:58:38 -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',
|
2015-12-01 20:27:51 +00:00
|
|
|
'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',
|
2016-07-22 14:53:03 -05:00
|
|
|
'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
|
|
|
];
|