-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Instead we will signal TERM to the immediate child process by default. After that we wait for `timeout` period and signal TERM to all children. Finally, we wait for another `timeout` period and signal KILL to all remaining processes (in case they didn't exit with the TERM signal by now). It's very important to set -t/--timeout to the appropriate time based on the graceful shutdown you allow your processes to linger for.
- Loading branch information
1 parent
2ae7fb4
commit db9fa58
Showing
3 changed files
with
25 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters