Skip to content

when db has too many connections weird errors happen. #125

Closed
@rdallman

Description

@rdallman

In gitlab by @rdallman on Jul 17, 2017, 14:13

@denismakogon alluded to this in #111

this is the case i keep running into:

fn-api-deployment-2750180546-h378w fn-api time="2017-07-17T21:09:03Z" level=error msg="App not found" action="server.handleRunnerRequest)-fm" app=yodawg call_id=01BN9642M407WTE00000000000 error="Error 1040: Too many connections" route="/hello"

which we should handle in the function that fronts the api (return 5xx instead). we also 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions