This commit is contained in:
2023-04-25 09:28:32 +08:00
parent 8215609eed
commit c9ccab1a99
4 changed files with 13 additions and 12 deletions
+3 -3
View File
@@ -24,10 +24,10 @@ return [
'collation' => env('DB_COLLATION', 'utf8_unicode_ci'),
'prefix' => env('DB_PREFIX', ''),
'pool' => [
'min_connections' => 1,
'max_connections' => 10,
'min_connections' => 10,
'max_connections' => 50,
'connect_timeout' => 10.0,
'wait_timeout' => 3.0,
'wait_timeout' => 5.0,
'heartbeat' => -1,
'max_idle_time' => (float) env('DB_MAX_IDLE_TIME', 60),
],