mirror of
https://github.com/Luzifer/elb-instance-status.git
synced 2024-11-08 14:00:09 +00:00
Fix: Give the process kill a bit more time to succeed
This commit is contained in:
parent
1176799e0e
commit
4288a67f10
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -155,7 +155,7 @@ func executeAndRegisterCheck(ctx context.Context, checkID string) {
|
|||
case <-ctx.Done():
|
||||
log.Printf("Execution of check '%s' was killed through context timeout.", checkID)
|
||||
cmd.Process.Kill()
|
||||
time.Sleep(time.Millisecond)
|
||||
time.Sleep(100 * time.Millisecond)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue