Skip to content

[PostgresClient]: PostgresClient should abort trying to connect on graceful shutdownΒ #599

@tkrajacic

Description

@tkrajacic

Please summarize your feature request

PostgresClient should stop attempts at connecting when the service is already shutting down

Describe the functionality you're seeking in more detail

When PostgresClient tries to run a query, and it tries to connect to the db, it might fail because of connection issues. It will then time out on the connection, and try again.

Currently it will potentially endlessly retry and the server cannot be shut down.

If a user then tries to shut down the server, PostgresClient should stop any attempts.
Currently (I am using Hummingbird) you have to kill the process to get out of this and stop the server.

Have you considered any alternatives?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions