提交代码
This commit is contained in:
1 parent
3134870b68
commit
c20df56dcd
26 files changed
+2931
-37
No files matched your search
@@ -115,8 +115,8 @@ spring:
|
||||
idleTimeout: 300000
|
||||
# 此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认30分钟(减少生命周期)
|
||||
maxLifetime: 900000
|
||||
# 多久检查一次连接的活性(增加间隔,减少检测频率)
|
||||
keepaliveTime: 60000
|
||||
# 多久检查一次连接的活性(增加间隔,减少检测频率,减少日志输出)
|
||||
keepaliveTime: 300000
|
||||
# 连接测试查询(验证连接有效性)
|
||||
# connectionTestQuery: SELECT 11
|
||||
|
||||
|
||||
Reference in new issue
Block a user