Skip to content

Graceful shutdown #4689

@mkleczek

Description

@mkleczek

Right now PostgREST does not wait for in-flight requests to finish upon shutdown (ie. SIGTERM).

It would be good if we used Warp shutdownHandler to handle shutdown gracefully.

This is crucial to handle upgrades in near-zero downtime fashion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions