Commit 81763fa
Decrease the wait time before SIGKILL (#183)
Docker daemon (dockerd) typically sends a SIGTERM signal after 10 seconds. Previously, we waited 20 seconds before sending a SIGKILL, but systemd would sometimes reach its timeout and forcefully terminate the process before then approximately at 14-15 seconds. To prevent this issue I have decreased the wait time to 13 seconds before sending SIGKILL. SIGTERM sometimes stops the process gracefully but it’s not always reliable so making this change is necessary.
Co-authored-by: Deepika Shanmugam <92788697+deepikas20@users.noreply.github.com>1 parent db9f512 commit 81763fa
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
652 | 652 | | |
653 | 653 | | |
654 | 654 | | |
655 | | - | |
656 | | - | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
657 | 659 | | |
658 | 660 | | |
659 | 661 | | |
| |||
0 commit comments