From 0ec5eb51682937fceb3103e0e3f7749734781f2f Mon Sep 17 00:00:00 2001 From: David Bomba Date: Fri, 10 Dec 2021 08:02:28 +1100 Subject: [PATCH] Increase timeout for Redis --- config/database.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/database.php b/config/database.php index dc9f8048186..8c0d15cdf93 100644 --- a/config/database.php +++ b/config/database.php @@ -207,7 +207,7 @@ function ($a, $b) { ['options' => [ 'replication' => 'sentinel', 'service' => env('REDIS_SENTINEL_SERVICE', 'mymaster'), - 'sentinel_timeout' => 2.0, + 'sentinel_timeout' => 3.0, 'parameters' => [ 'password' => env('REDIS_PASSWORD', null), 'database' => env('REDIS_DB', 0), @@ -226,7 +226,7 @@ function ($a, $b) { ['options' => [ 'replication' => 'sentinel', 'service' => env('REDIS_SENTINEL_SERVICE', 'mymaster'), - 'sentinel_timeout' => 2.0, + 'sentinel_timeout' => 3.0, 'parameters' => [ 'password' => env('REDIS_PASSWORD', null), 'database' => env('REDIS_CACHE_DB', 1),