修改数据库连接数

This commit is contained in:
wucongxing 2023-05-24 16:37:25 +08:00
parent df018d87da
commit a175103536

View File

@ -24,8 +24,8 @@ return [
'collation' => env('DB_COLLATION', 'utf8_unicode_ci'), 'collation' => env('DB_COLLATION', 'utf8_unicode_ci'),
'prefix' => env('DB_PREFIX', ''), 'prefix' => env('DB_PREFIX', ''),
'pool' => [ 'pool' => [
'min_connections' => 50, 'min_connections' => 100,
'max_connections' => 100, 'max_connections' => 300,
'connect_timeout' => 10.0, 'connect_timeout' => 10.0,
'wait_timeout' => 5.0, 'wait_timeout' => 5.0,
'heartbeat' => -1, 'heartbeat' => -1,