mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 05:04:07 -08:00
feat(config): add REDIS_DATABASE support
Add the possibility to set the redis database to use. The default value is still 0
This commit is contained in:
parent
adba2d5b6c
commit
f52b17cca6
|
@ -155,7 +155,7 @@ return [
|
|||
'host' => env('REDIS_HOST', 'localhost'),
|
||||
'password' => env('REDIS_PASSWORD', null),
|
||||
'port' => env('REDIS_PORT', 6379),
|
||||
'database' => 0,
|
||||
'database' => env('REDIS_DATABASE', 0),
|
||||
],
|
||||
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue