Better support for redis as a backend

This commit is contained in:
Dane Everitt 2017-04-01 16:31:18 -04:00
parent cbeecfe5e4
commit 0a95d97d7f
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
2 changed files with 31 additions and 10 deletions

View file

@ -45,7 +45,6 @@ return [
*/
'connections' => [
'mysql' => [
'driver' => 'mysql',
'host' => env('DB_HOST', 'localhost'),
@ -58,7 +57,6 @@ return [
'prefix' => '',
'strict' => false,
],
],
/*
@ -86,15 +84,13 @@ return [
*/
'redis' => [
'cluster' => false,
'client' => 'predis',
'default' => [
'host' => '127.0.0.1',
'port' => 6379,
'host' => env('REDIS_HOST', 'localhost'),
'password' => env('REDIS_PASSWORD', null),
'port' => env('REDIS_PORT', 6379),
'database' => 0,
],
],
];