Skip to content

Connection TTL #2965

Open
Open
@tmszdmsk

Description

@tmszdmsk

With the newly added release event in Pool, it is possible to implement connection TTL. We did that internally in our project but it would be great to have OOTB support for it in node-postgres.

It helped us resolve problems with AZ failovers when connecting to AWS RDS when the domain name starts pointing to different machine but connections in the pool still use previous address.

I wanted to understand whether there is any need for that before I start working on the PR. What do you think?

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