Skip to content

any request error takes down the whole database #183

@ojii

Description

@ojii

Describe the issue

We use dynalite in CI. An annoying number of times, the database server (which is used by several tests) crashes with ECONNRESET, making the rest of the tests fail.

I believe this is because of the throw in this line.

Could that throw err be changed to something like console.log(err)? I don't understand nodejs http servers enough to know if that is an appropriate solution.

Steps to reproduce

Sadly, I don't have a concise repro for this at the moment.

Expected behavior

A client resetting a connection should not take down the whole server.

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