From f52b17cca6af037f97836f7208760f44db5a47d0 Mon Sep 17 00:00:00 2001 From: fe80 Date: Thu, 18 Jan 2024 10:59:05 +0100 Subject: [PATCH] feat(config): add REDIS_DATABASE support Add the possibility to set the redis database to use. The default value is still 0 --- config/database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/database.php b/config/database.php index bb62cf0d3abd..1b4feeca93ad 100755 --- a/config/database.php +++ b/config/database.php @@ -155,7 +155,7 @@ 'host' => env('REDIS_HOST', 'localhost'), 'password' => env('REDIS_PASSWORD', null), 'port' => env('REDIS_PORT', 6379), - 'database' => 0, + 'database' => env('REDIS_DATABASE', 0), ], ],