Use 5 second timeout overhead when waiting for ping to complete

This commit is contained in:
Daniel Nelson 2017-10-09 15:09:07 -07:00
parent 6ed5dc444d
commit c49eda6810
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ func hostPinger(timeout float64, args ...string) (string, error) {
}
c := exec.Command(bin, args...)
out, err := internal.CombinedOutputTimeout(c,
time.Second*time.Duration(timeout+1))
time.Second*time.Duration(timeout+5))
return string(out), err
}