Skip to content

Commit

Permalink
Changed termination timeout to 5 secs
Browse files Browse the repository at this point in the history
  • Loading branch information
estintax committed Dec 24, 2019
1 parent 98d6572 commit 3af83d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion process.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func KillAllProcesses() {
fmt.Printf("SIGTERM %d\n", proc.Pid)
} else {
go func (pid int) {
time.Sleep(30 * time.Second)
time.Sleep(5 * time.Second)
if proc, err := os.FindProcess(pid); err == nil {
proc.Kill()
return
Expand Down

0 comments on commit 3af83d2

Please sign in to comment.