update 优化 连接池增加 keepaliveTime 探活参数
parent
9d0cd9acdf
commit
e37810fe54
|
|
@ -48,6 +48,8 @@ spring:
|
||||||
maxLifetime: 1800000
|
maxLifetime: 1800000
|
||||||
# 连接测试query(配置检测连接是否有效)
|
# 连接测试query(配置检测连接是否有效)
|
||||||
connectionTestQuery: SELECT 1
|
connectionTestQuery: SELECT 1
|
||||||
|
# 多久检查一次连接的活性
|
||||||
|
keepaliveTime: 30000
|
||||||
|
|
||||||
# seata配置
|
# seata配置
|
||||||
seata:
|
seata:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue