Skip to content

make sql db wait for connections instead of returning 'too many connections' #187

Closed
@rdallman

Description

@rdallman

we need to probably figure out how to make this stop across all the various backends, we would prefer for them to wait and then possibly get hit with a timeout instead of just failing.

see #125 for error (now masked to user, still happening)

wrt mysql, it is mysql returning this error (not the database/sql package). see golang/go#4805 for context on the pool, this package will wait for a free connection & we are using this feature. we need a better way to sync our local max_conns with the mysql in use's max_conns as these 2 can be different numbers and is the source of this error.

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