Closed Shawn0Parker closed 1 year ago
JDK Version(required): 1.8
SpringBoot Version(required): 2.3.5
dynamic-datasource-spring-boot-starter Version(required): 3.4.0
dynamic-datasource配置druid的time-between-connect-error-millis项无效
Expected Result:
数据源配置:time-between-connect-error-millis: 6000
Actual Result:
结果仍然为默认的500
Step 1 dynamic-datasource配置druid的time-between-connect-error-millis=6000
Step 2
启动应用,捕获 DruidDataSource,查看对应该参数timeBetweenConnectErrorMillis的值
发现值仍为druid默认值500
1断点调试, 2尝试升级3.5.2
等待4.0.0
Enviroment
JDK Version(required): 1.8
SpringBoot Version(required): 2.3.5
dynamic-datasource-spring-boot-starter Version(required): 3.4.0
Describe what happened
dynamic-datasource配置druid的time-between-connect-error-millis项无效
Expected Result:
数据源配置:time-between-connect-error-millis: 6000
Actual Result:
结果仍然为默认的500
Steps to reproduce
Step 1 dynamic-datasource配置druid的time-between-connect-error-millis=6000
Step 2
启动应用,捕获 DruidDataSource,查看对应该参数timeBetweenConnectErrorMillis的值
发现值仍为druid默认值500