mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-28 15:47:59 +01:00
c420d3955b
* Shift core files * Shift app folder structure Laravel 5.3 no longer includes the `Events`, `Jobs`, `Listeners`, and `Policies` folders by default. Instead, they are created when you make them using `artisan`. * Shift Middleware * Shift Providers * Shift configuration * Shift Routes Laravel 5.3 now stores Routes in a top-level `routes` folder and separates them into API, console, and web files. * Shift deprecations The `Str::randomBytes` and `Str::equals` methods were deprecated in Laravel 5.2 and removed in Laravel 5.3 in favor of the native `random_bytes` and `hash_equals` PHP functions. In addition, the Collection method `lists()` was replaced with `pluck()`. * Shift Laravel dependencies * Shift cleanup * Updated composer.json * Updated providers to 5.3 style * Removed events folder and extend correct exceptions handler * Updated configuration * Shift back our method names from ending in "pluck" to "list" * Temporarily add back in old mcrypt encrypter
62 lines
1.8 KiB
PHP
62 lines
1.8 KiB
PHP
<?php
|
|
|
|
return [
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| 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.
|
|
|
|
|
| Supported: "null", "sync", "database", "beanstalkd",
|
|
| "sqs", "iron", "redis"
|
|
|
|
|
*/
|
|
|
|
'default' => env('QUEUE_DRIVER', 'sync'),
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| 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.
|
|
|
|
|
*/
|
|
|
|
'connections' => [
|
|
|
|
'sync' => [
|
|
'driver' => 'sync',
|
|
],
|
|
|
|
'beanstalkd' => [
|
|
'driver' => 'beanstalkd',
|
|
'host' => 'localhost',
|
|
'queue' => 'default',
|
|
'retry_after' => 60,
|
|
],
|
|
|
|
],
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| 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.
|
|
|
|
|
*/
|
|
|
|
'failed' => [
|
|
'database' => 'mysql', 'table' => 'failed_jobs',
|
|
],
|
|
|
|
];
|