Skip to content

serve: handle graceful exits #375

@Bilal2453

Description

@Bilal2453

We need to gracefully handle SIGINT and SIGTERM by saving the database state (if needed), closing any open handles, and stopping the event loop to exit.
Right now the only way is a SIGKILL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions