inc ping count
This commit is contained in:
parent
b3c85a4c40
commit
2c87c65d67
2
main.go
2
main.go
@ -119,7 +119,7 @@ func serverLatency(s server) (time.Duration, error) {
|
|||||||
if runtime.GOOS == "windows" {
|
if runtime.GOOS == "windows" {
|
||||||
pinger.SetPrivileged(true)
|
pinger.SetPrivileged(true)
|
||||||
}
|
}
|
||||||
pinger.Count = 1
|
pinger.Count = 3
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user