Skip to content

Reject new requests during chainhook shutdown #351

Description

@Mosas2000

Problem
The graceful-shutdown helper exists, but the HTTP handler still accepts new work while shutdown is in progress.

Why it matters
Requests can race with connection teardown and fail unpredictably during deploys or restarts.

Acceptance criteria

  • Return a clear 503 while shutdown is active
  • Stop accepting new ingest requests before closing the store
  • Add a shutdown integration test

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