chore(config): 优化数据库连接池配置并调整测试脚本注释
- 为开发环境配置了 Hikari 连接池名称及超时参数 - 调整开发环境连接池最小空闲连接数和空闲超时时长 - 为 SIT 环境新增完整的 Hikari 连接池参数配置 - 注释掉测试脚本中部署 SIT 环境时拷贝 lib 目录的操作 - 保持服务启动脚本执行逻辑不变
This commit is contained in:
parent
735aa192b4
commit
d984bd7b13
|
|
@ -31,6 +31,10 @@ management:
|
|||
spring:
|
||||
datasource:
|
||||
hikari:
|
||||
pool-name: QmsAdminDevPool
|
||||
maximum-pool-size: 10
|
||||
minimum-idle: 3
|
||||
idle-timeout: 600000
|
||||
minimum-idle: 2
|
||||
idle-timeout: 120000
|
||||
max-lifetime: 300000
|
||||
connection-timeout: 5000
|
||||
leak-detection-threshold: 20000
|
||||
|
|
@ -28,3 +28,13 @@ management:
|
|||
otlp:
|
||||
tracing:
|
||||
endpoint: http://192.168.163.83:4318/v1/traces
|
||||
spring:
|
||||
datasource:
|
||||
hikari:
|
||||
pool-name: QmsAdminSitPool
|
||||
maximum-pool-size: 30
|
||||
minimum-idle: 5
|
||||
idle-timeout: 120000
|
||||
max-lifetime: 300000
|
||||
connection-timeout: 5000
|
||||
leak-detection-threshold: 20000
|
||||
|
|
@ -32,7 +32,7 @@ public class DeploySitTest {
|
|||
//处理字体目录
|
||||
// handleDir(sshUtil, localPath, remotePath, "fonts");
|
||||
//处理lib目录
|
||||
handleDir(sshUtil, localPath, remotePath, "lib");
|
||||
// handleDir(sshUtil, localPath, remotePath, "lib");
|
||||
//执行脚本启动服务
|
||||
sshUtil.exec("cd " + remotePath + " && ./restart.sh");
|
||||
sshUtil.disconnect();
|
||||
|
|
|
|||
Loading…
Reference in New Issue