Skip to content

Configurable number of database connections SetMaxOpenConns #1037

Description

@kouzant

Hello!

This is more of a question rather than an issue. I see that SetMaxOpenConns is hardcoded to 1. Is there a specific reason why it is not configurable?

My understanding is that collectors fan-out but they all share the same database connection. A single slow collector will block the others, right?

I saw that there was a issue and PR created many years ago #330 but it also involved some more changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions