mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2025-10-25 11:44:19 +00:00
update 优化 删除 hikaricp 官方不推荐使用的配置 jdbc4 协议自带校验方法
This commit is contained in:
@@ -46,7 +46,5 @@ spring:
|
|||||||
idleTimeout: 600000
|
idleTimeout: 600000
|
||||||
# 此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认30分钟
|
# 此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认30分钟
|
||||||
maxLifetime: 1800000
|
maxLifetime: 1800000
|
||||||
# 连接测试query(配置检测连接是否有效)
|
|
||||||
connectionTestQuery: SELECT 1
|
|
||||||
# 多久检查一次连接的活性
|
# 多久检查一次连接的活性
|
||||||
keepaliveTime: 30000
|
keepaliveTime: 30000
|
||||||
|
|||||||
@@ -18,8 +18,6 @@ spring:
|
|||||||
# url: ${datasource.system-oracle.url}
|
# url: ${datasource.system-oracle.url}
|
||||||
# username: ${datasource.system-oracle.username}
|
# username: ${datasource.system-oracle.username}
|
||||||
# password: ${datasource.system-oracle.password}
|
# password: ${datasource.system-oracle.password}
|
||||||
# hikari:
|
|
||||||
# connectionTestQuery: SELECT 1 FROM DUAL
|
|
||||||
# postgres:
|
# postgres:
|
||||||
# type: ${spring.datasource.type}
|
# type: ${spring.datasource.type}
|
||||||
# driverClassName: org.postgresql.Driver
|
# driverClassName: org.postgresql.Driver
|
||||||
|
|||||||
@@ -17,8 +17,6 @@ spring:
|
|||||||
# url: ${datasource.system-oracle.url}
|
# url: ${datasource.system-oracle.url}
|
||||||
# username: ${datasource.system-oracle.username}
|
# username: ${datasource.system-oracle.username}
|
||||||
# password: ${datasource.system-oracle.password}
|
# password: ${datasource.system-oracle.password}
|
||||||
# hikari:
|
|
||||||
# connectionTestQuery: SELECT 1 FROM DUAL
|
|
||||||
# postgres:
|
# postgres:
|
||||||
# type: ${spring.datasource.type}
|
# type: ${spring.datasource.type}
|
||||||
# driverClassName: org.postgresql.Driver
|
# driverClassName: org.postgresql.Driver
|
||||||
|
|||||||
@@ -17,8 +17,6 @@ spring:
|
|||||||
# url: ${datasource.system-oracle.url}
|
# url: ${datasource.system-oracle.url}
|
||||||
# username: ${datasource.system-oracle.username}
|
# username: ${datasource.system-oracle.username}
|
||||||
# password: ${datasource.system-oracle.password}
|
# password: ${datasource.system-oracle.password}
|
||||||
# hikari:
|
|
||||||
# connectionTestQuery: SELECT 1 FROM DUAL
|
|
||||||
# postgres:
|
# postgres:
|
||||||
# type: ${spring.datasource.type}
|
# type: ${spring.datasource.type}
|
||||||
# driverClassName: org.postgresql.Driver
|
# driverClassName: org.postgresql.Driver
|
||||||
|
|||||||
Reference in New Issue
Block a user