Skip to content

duruid配置项time-between-connect-error-millis无效 #487

@Shawn0Parker

Description

@Shawn0Parker

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
image

Actual Result:

结果仍然为默认的500
image

Steps to reproduce

  • Step 1
    dynamic-datasource配置druid的time-between-connect-error-millis=6000

  • Step 2

启动应用,捕获 DruidDataSource,查看对应该参数timeBetweenConnectErrorMillis的值

  • Step 3

发现值仍为druid默认值500

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions