Skip to content
This repository has been archived by the owner on Jan 15, 2023. It is now read-only.

feat: graceful termination of the init process #334

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

clementrey-dev
Copy link

Dear maintainers

This pull request is a proposed implementation for the graceful termination of the init process through two modifications

  • a timeout named a graceful termination that corresponds to the time, starting when the SIGTERM is received, after which the
    init process is over
  • a new HTTP endpoint (/runtime/stop) for shutting down properly the init process

Thank you

@steve-a-jones
Copy link

Have a use case for this as well since I need to test proper handling of sigterm traps for my runtime. Thanks for putting the work in for this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants