Skip to content

DataSourceHealthIndicator need timeout  #4391

@bohrqiu

Description

@bohrqiu

for the business function,we will set database timeout(get connent form pool time out or exec query wait time out ) very long ,but It's not appropriate for HealthIndicator. in HealthIndicator,We just check whether the connection is available. so we should add timeout for HealthIndicator,as DataSourceHealthIndicator an example

https://gist.github.com/bohrqiu/094e6e22a56b684fcec8

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: declinedA suggestion or change that we don't feel we should currently apply

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions