|
@@ -19,12 +19,11 @@ return [
|
|
'db' => (int) env('REDIS_DB', 0),
|
|
'db' => (int) env('REDIS_DB', 0),
|
|
'pool' => [
|
|
'pool' => [
|
|
'min_connections' => 1,
|
|
'min_connections' => 1,
|
|
- 'max_connections' => 100,
|
|
|
|
- 'connect_timeout' => 1000.0,
|
|
|
|
- 'wait_timeout' => 30000.0,
|
|
|
|
|
|
+ 'max_connections' => 10,
|
|
|
|
+ 'connect_timeout' => 10.0,
|
|
|
|
+ 'wait_timeout' => 3.0,
|
|
'heartbeat' => -1,
|
|
'heartbeat' => -1,
|
|
- 'max_idle_time' => (float) env('REDIS_MAX_IDLE_TIME', 600),
|
|
|
|
- 'max_attempts' => 5,
|
|
|
|
|
|
+ 'max_idle_time' => (float) env('REDIS_MAX_IDLE_TIME', 60),
|
|
],
|
|
],
|
|
|
|
|
|
],
|
|
],
|