Skip to content

Watch for SIGINT to initiate a graceful shutdown #627

@epompeii

Description

@epompeii

Currently, the Bencher API server does not do a good job of waiting for inflight requests to complete before shutting down. See: https://fly.io/blog/graceful-vm-exits-some-dials

Add a listener for SIGINT to initiate a graceful shutdown.

If a task takes to long and we receive a SIGKILL, then adding transactions will help in that case as well: #576

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