Skip to content

Conversation

@jonaro00
Copy link
Member

@jonaro00 jonaro00 commented Sep 9, 2025

Description of change

  • cargo-shuttle
    • Sends a SIGINT to runtime child process if a SIGINT was received. Allows local run to use graceful shutdown like when deployed.
    • TODO: Windows
  • runtime
    • Call service's shutdown when process was interrupted (SIGINT)
  • service
    • Adds Clone trait bound on Service
    • Adds shutdown() trait method to optionally implement for a Service

Partially implements #2004

How has this been tested? (if applicable)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants