Skip to content

database/sql: maxBadConnRetries is hard coded but not configurable #15608

@xiezhenye

Description

@xiezhenye

In database/sql, maxBadConnRetries is hard coded but not configurable.

Sometimes I do not want it to retry when connect fails, or more retry times is required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureRequestIssues asking for a new feature that does not need a proposal.FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions