From 4a428e1d23d46652e2849d53022d18f89d313445 Mon Sep 17 00:00:00 2001 From: Dominik Hebeler <dominik@suma-ev.de> Date: Tue, 7 Sep 2021 15:41:55 +0200 Subject: [PATCH] fixed wrong connections --- config/database.php | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/config/database.php b/config/database.php index 34261faf6..9d122eee5 100644 --- a/config/database.php +++ b/config/database.php @@ -134,15 +134,16 @@ return [ 'database' => 0, ], - 'clustercache' => [ - 'host' => env('REDIS_CACHE_HOST', 'localhost'), - 'password' => env('REDIS_CACHE_PASSWORD', null), - 'port' => env('REDIS_CACHE_PORT', 6379), - 'database' => 0, - 'options' => [ - 'cluster' => 'redis', - ], - ], + "clusters" => [ + 'clustercache' => [[ + 'host' => env('REDIS_CACHE_HOST', 'localhost'), + 'password' => env('REDIS_CACHE_PASSWORD', null), + 'port' => env('REDIS_CACHE_PORT', 6379), + 'database' => 0, + ]], + ] + + ], ]; -- GitLab