Increase timeout for Redis

This commit is contained in:
David Bomba 2021-12-10 08:02:28 +11:00
parent d2a929b975
commit 0ec5eb5168

View File

@ -207,7 +207,7 @@ return [
['options' => [ ['options' => [
'replication' => 'sentinel', 'replication' => 'sentinel',
'service' => env('REDIS_SENTINEL_SERVICE', 'mymaster'), 'service' => env('REDIS_SENTINEL_SERVICE', 'mymaster'),
'sentinel_timeout' => 2.0, 'sentinel_timeout' => 3.0,
'parameters' => [ 'parameters' => [
'password' => env('REDIS_PASSWORD', null), 'password' => env('REDIS_PASSWORD', null),
'database' => env('REDIS_DB', 0), 'database' => env('REDIS_DB', 0),
@ -226,7 +226,7 @@ return [
['options' => [ ['options' => [
'replication' => 'sentinel', 'replication' => 'sentinel',
'service' => env('REDIS_SENTINEL_SERVICE', 'mymaster'), 'service' => env('REDIS_SENTINEL_SERVICE', 'mymaster'),
'sentinel_timeout' => 2.0, 'sentinel_timeout' => 3.0,
'parameters' => [ 'parameters' => [
'password' => env('REDIS_PASSWORD', null), 'password' => env('REDIS_PASSWORD', null),
'database' => env('REDIS_CACHE_DB', 1), 'database' => env('REDIS_CACHE_DB', 1),