Skip to content

Version 0.1.3.0

Compare
Choose a tag to compare
@denibertovic denibertovic released this 15 Nov 18:57
· 16 commits to master since this release
pid1-0.1.3.0
6f2e150

Breaking changes:

  • Previously pid1 would send a TERM signal to all processes running in the container and wait for the given <timeout> period before sending the KILL signal to the leftover processes. With this release we will first send a TERM signal to the "immediate process" that pid1 has spawned (the "main" process). Pid1 will them wait for the given <timeout> and let the "main" process shut down it's child processes it may have spawned. After the given timeout it will send a TERM signal to all processes and wait again for the <timeout> before resorting to sending the KILL signal. This works well with software that spawns multiple child/worker processes but only the main process handles the shutdown correctly (eg. gunicorn, celery etc).