Add support for selecting Redis DB (#1247)

I happen to use a central instance of Redis for various projects and could use having this change integrated, allowing to specify from .env the database to use.
This commit is contained in:
MyPod 2020-09-09 16:01:44 +02:00 committed by GitHub
parent 448d33c2c3
commit 69304fd97a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -123,7 +123,7 @@ return [
'host' => env('REDIS_HOST', '127.0.0.1'),
'password' => env('REDIS_PASSWORD', null),
'port' => env('REDIS_PORT', 6379),
'database' => 0,
'database' => env('REDIS_DATABASE', 0),
],
],
],