Skip to content

Add graceful shutdown #206

Description

@Aharshi3614

Description

Currently, when the server stops (SIGTERM/SIGINT), it abruptly closes connections. This can cause in-flight requests to fail.

Goals

  • Close server gracefully on SIGTERM/SIGINT
  • Wait for existing requests to complete
  • Disconnect database properly

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions