diff --git a/config/think-orm.php b/config/think-orm.php index c201c61..30578ca 100644 --- a/config/think-orm.php +++ b/config/think-orm.php @@ -31,7 +31,7 @@ return [ 'bootstrap' => '', // 连接池配置 'pool' => [ - 'max_connections' => 100, // 最大连接数 + 'max_connections' => 80, // 最大连接数 'min_connections' => 5, // 最小连接数 'wait_timeout' => 3, // 从连接池获取连接等待超时时间 'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收 @@ -66,7 +66,7 @@ return [ 'bootstrap' => '', // 连接池配置 'pool' => [ - 'max_connections' => 100, // 最大连接数 + 'max_connections' => 80, // 最大连接数 'min_connections' => 5, // 最小连接数 'wait_timeout' => 3, // 从连接池获取连接等待超时时间 'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收 @@ -101,7 +101,7 @@ return [ 'bootstrap' => '', // 连接池配置 'pool' => [ - 'max_connections' => 100, // 最大连接数 + 'max_connections' => 80, // 最大连接数 'min_connections' => 5, // 最小连接数 'wait_timeout' => 3, // 从连接池获取连接等待超时时间 'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收 @@ -137,7 +137,7 @@ return [ 'bootstrap' => '', // 连接池配置 'pool' => [ - 'max_connections' => 100, // 最大连接数 + 'max_connections' => 80, // 最大连接数 'min_connections' => 5, // 最小连接数 'wait_timeout' => 3, // 从连接池获取连接等待超时时间 'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收 @@ -172,7 +172,7 @@ return [ 'bootstrap' => '', // 连接池配置 'pool' => [ - 'max_connections' => 100, // 最大连接数 + 'max_connections' => 80, // 最大连接数 'min_connections' => 5, // 最小连接数 'wait_timeout' => 3, // 从连接池获取连接等待超时时间 'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收 @@ -207,7 +207,7 @@ return [ 'bootstrap' => '', // 连接池配置 'pool' => [ - 'max_connections' => 100, // 最大连接数 + 'max_connections' => 80, // 最大连接数 'min_connections' => 5, // 最小连接数 'wait_timeout' => 3, // 从连接池获取连接等待超时时间 'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收 @@ -243,7 +243,7 @@ return [ 'bootstrap' => '', // 连接池配置 'pool' => [ - 'max_connections' => 100, // 最大连接数 + 'max_connections' => 80, // 最大连接数 'min_connections' => 5, // 最小连接数 'wait_timeout' => 3, // 从连接池获取连接等待超时时间 'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收 @@ -282,7 +282,7 @@ return [ 'bootstrap' => '', // 连接池配置 'pool' => [ - 'max_connections' => 100, // 最大连接数 + 'max_connections' => 80, // 最大连接数 'min_connections' => 5, // 最小连接数 'wait_timeout' => 3, // 从连接池获取连接等待超时时间 'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收 @@ -318,7 +318,7 @@ return [ 'bootstrap' => '', // 连接池配置 'pool' => [ - 'max_connections' => 100, // 最大连接数 + 'max_connections' => 80, // 最大连接数 'min_connections' => 5, // 最小连接数 'wait_timeout' => 3, // 从连接池获取连接等待超时时间 'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收 @@ -354,7 +354,7 @@ return [ 'bootstrap' => '', // 连接池配置 'pool' => [ - 'max_connections' => 100, // 最大连接数 + 'max_connections' => 80, // 最大连接数 'min_connections' => 5, // 最小连接数 'wait_timeout' => 3, // 从连接池获取连接等待超时时间 'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收 @@ -390,7 +390,7 @@ return [ 'bootstrap' => '', // 连接池配置 'pool' => [ - 'max_connections' => 100, // 最大连接数 + 'max_connections' => 80, // 最大连接数 'min_connections' => 5, // 最小连接数 'wait_timeout' => 3, // 从连接池获取连接等待超时时间 'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收 @@ -425,7 +425,7 @@ return [ 'bootstrap' => '', // 连接池配置 'pool' => [ - 'max_connections' => 100, // 最大连接数 + 'max_connections' => 80, // 最大连接数 'min_connections' => 5, // 最小连接数 'wait_timeout' => 3, // 从连接池获取连接等待超时时间 'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收 @@ -460,7 +460,7 @@ return [ 'bootstrap' => '', // 连接池配置 'pool' => [ - 'max_connections' => 100, // 最大连接数 + 'max_connections' => 80, // 最大连接数 'min_connections' => 5, // 最小连接数 'wait_timeout' => 3, // 从连接池获取连接等待超时时间 'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收 @@ -495,7 +495,7 @@ return [ 'bootstrap' => '', // 连接池配置 'pool' => [ - 'max_connections' => 100, // 最大连接数 + 'max_connections' => 80, // 最大连接数 'min_connections' => 5, // 最小连接数 'wait_timeout' => 3, // 从连接池获取连接等待超时时间 'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收 @@ -530,7 +530,7 @@ return [ 'bootstrap' => '', // 连接池配置 'pool' => [ - 'max_connections' => 100, // 最大连接数 + 'max_connections' => 80, // 最大连接数 'min_connections' => 5, // 最小连接数 'wait_timeout' => 3, // 从连接池获取连接等待超时时间 'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收 @@ -565,7 +565,7 @@ return [ 'bootstrap' => '', // 连接池配置 'pool' => [ - 'max_connections' => 100, // 最大连接数 + 'max_connections' => 80, // 最大连接数 'min_connections' => 5, // 最小连接数 'wait_timeout' => 3, // 从连接池获取连接等待超时时间 'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收 @@ -600,7 +600,7 @@ return [ 'bootstrap' => '', // 连接池配置 'pool' => [ - 'max_connections' => 100, // 最大连接数 + 'max_connections' => 80, // 最大连接数 'min_connections' => 5, // 最小连接数 'wait_timeout' => 3, // 从连接池获取连接等待超时时间 'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收 @@ -635,7 +635,7 @@ return [ 'bootstrap' => '', // 连接池配置 'pool' => [ - 'max_connections' => 100, // 最大连接数 + 'max_connections' => 80, // 最大连接数 'min_connections' => 5, // 最小连接数 'wait_timeout' => 3, // 从连接池获取连接等待超时时间 'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收 @@ -670,7 +670,7 @@ return [ 'bootstrap' => '', // 连接池配置 'pool' => [ - 'max_connections' => 100, // 最大连接数 + 'max_connections' => 80, // 最大连接数 'min_connections' => 5, // 最小连接数 'wait_timeout' => 3, // 从连接池获取连接等待超时时间 'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收 @@ -705,7 +705,7 @@ return [ 'bootstrap' => '', // 连接池配置 'pool' => [ - 'max_connections' => 100, // 最大连接数 + 'max_connections' => 80, // 最大连接数 'min_connections' => 5, // 最小连接数 'wait_timeout' => 3, // 从连接池获取连接等待超时时间 'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收 @@ -740,7 +740,7 @@ return [ 'bootstrap' => '', // 连接池配置 'pool' => [ - 'max_connections' => 100, // 最大连接数 + 'max_connections' => 80, // 最大连接数 'min_connections' => 5, // 最小连接数 'wait_timeout' => 3, // 从连接池获取连接等待超时时间 'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收 @@ -775,7 +775,7 @@ return [ 'bootstrap' => '', // 连接池配置 'pool' => [ - 'max_connections' => 100, // 最大连接数 + 'max_connections' => 80, // 最大连接数 'min_connections' => 5, // 最小连接数 'wait_timeout' => 3, // 从连接池获取连接等待超时时间 'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收 @@ -810,7 +810,7 @@ return [ 'bootstrap' => '', // 连接池配置 'pool' => [ - 'max_connections' => 100, // 最大连接数 + 'max_connections' => 80, // 最大连接数 'min_connections' => 5, // 最小连接数 'wait_timeout' => 3, // 从连接池获取连接等待超时时间 'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收 @@ -845,7 +845,7 @@ return [ 'bootstrap' => '', // 连接池配置 'pool' => [ - 'max_connections' => 100, // 最大连接数 + 'max_connections' => 80, // 最大连接数 'min_connections' => 5, // 最小连接数 'wait_timeout' => 3, // 从连接池获取连接等待超时时间 'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收 @@ -880,7 +880,7 @@ return [ 'bootstrap' => '', // 连接池配置 'pool' => [ - 'max_connections' => 100, // 最大连接数 + 'max_connections' => 80, // 最大连接数 'min_connections' => 5, // 最小连接数 'wait_timeout' => 3, // 从连接池获取连接等待超时时间 'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收 @@ -915,7 +915,7 @@ return [ 'bootstrap' => '', // 连接池配置 'pool' => [ - 'max_connections' => 100, // 最大连接数 + 'max_connections' => 80, // 最大连接数 'min_connections' => 5, // 最小连接数 'wait_timeout' => 3, // 从连接池获取连接等待超时时间 'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收 @@ -950,7 +950,7 @@ return [ 'bootstrap' => '', // 连接池配置 'pool' => [ - 'max_connections' => 100, // 最大连接数 + 'max_connections' => 80, // 最大连接数 'min_connections' => 5, // 最小连接数 'wait_timeout' => 3, // 从连接池获取连接等待超时时间 'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收 @@ -985,7 +985,7 @@ return [ 'bootstrap' => '', // 连接池配置 'pool' => [ - 'max_connections' => 100, // 最大连接数 + 'max_connections' => 80, // 最大连接数 'min_connections' => 5, // 最小连接数 'wait_timeout' => 3, // 从连接池获取连接等待超时时间 'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收 @@ -1020,7 +1020,7 @@ return [ 'bootstrap' => '', // 连接池配置 'pool' => [ - 'max_connections' => 100, // 最大连接数 + 'max_connections' => 80, // 最大连接数 'min_connections' => 5, // 最小连接数 'wait_timeout' => 3, // 从连接池获取连接等待超时时间 'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收 @@ -1055,7 +1055,7 @@ return [ 'bootstrap' => '', // 连接池配置 'pool' => [ - 'max_connections' => 100, // 最大连接数 + 'max_connections' => 80, // 最大连接数 'min_connections' => 5, // 最小连接数 'wait_timeout' => 3, // 从连接池获取连接等待超时时间 'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收 @@ -1091,7 +1091,7 @@ return [ 'bootstrap' => '', // 连接池配置 'pool' => [ - 'max_connections' => 100, // 最大连接数 + 'max_connections' => 80, // 最大连接数 'min_connections' => 5, // 最小连接数 'wait_timeout' => 3, // 从连接池获取连接等待超时时间 'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收 @@ -1127,7 +1127,7 @@ return [ 'bootstrap' => '', // 连接池配置 'pool' => [ - 'max_connections' => 100, // 最大连接数 + 'max_connections' => 80, // 最大连接数 'min_connections' => 5, // 最小连接数 'wait_timeout' => 3, // 从连接池获取连接等待超时时间 'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收 @@ -1163,7 +1163,7 @@ return [ 'bootstrap' => '', // 连接池配置 'pool' => [ - 'max_connections' => 100, // 最大连接数 + 'max_connections' => 80, // 最大连接数 'min_connections' => 5, // 最小连接数 'wait_timeout' => 3, // 从连接池获取连接等待超时时间 'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收 @@ -1198,7 +1198,7 @@ return [ 'bootstrap' => '', // 连接池配置 'pool' => [ - 'max_connections' => 100, // 最大连接数 + 'max_connections' => 80, // 最大连接数 'min_connections' => 5, // 最小连接数 'wait_timeout' => 3, // 从连接池获取连接等待超时时间 'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收 @@ -1234,7 +1234,7 @@ return [ 'bootstrap' => '', // 连接池配置 'pool' => [ - 'max_connections' => 100, // 最大连接数 + 'max_connections' => 80, // 最大连接数 'min_connections' => 5, // 最小连接数 'wait_timeout' => 3, // 从连接池获取连接等待超时时间 'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收 @@ -1269,7 +1269,7 @@ return [ 'bootstrap' => '', // 连接池配置 'pool' => [ - 'max_connections' => 100, // 最大连接数 + 'max_connections' => 80, // 最大连接数 'min_connections' => 5, // 最小连接数 'wait_timeout' => 3, // 从连接池获取连接等待超时时间 'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收