增加 连接池 查询超时时间、事务超时时间 参数

This commit is contained in:
thinkgem
2024-04-18 21:46:18 +08:00
parent 37a74e7168
commit 8de5edc40e
3 changed files with 12 additions and 0 deletions

View File

@@ -31,6 +31,10 @@ jdbc:
# 连接超时参数,单位毫秒 v5.5.2+
connectTimeout: ~
socketTimeout: ~
# 查询超时时间,事务超时时间 v5.7.1+
queryTimeout: ~
transactionQueryTimeout: ~
# 从池中取出连接前进行检验如果检验失败则从池中去除连接并尝试取出另一个4.0.6+
testOnBorrow: false