Skip to content

Commit a814b1d

Browse files
committed
fix: mysql pool
1 parent 7b3765c commit a814b1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/config.prod.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ module.exports = () => {
2424
password: password || '',
2525
// 设置连接池
2626
pool: {
27-
max: 140, //最大连接个数
28-
min: 50,
27+
max: 100, //最大连接个数
28+
min: 20,
2929
acquire: 40000, // 从连接池获取连接的最长等待时间(毫秒)
3030
idle: 15000 // 连接池中空闲连接的最长存活时间(毫秒)
3131
}

0 commit comments

Comments
 (0)