mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-10-04 01:06:36 +08:00
增加网站配置
This commit is contained in:
@@ -1033,7 +1033,7 @@ func tcpPingHost(ip string, port int, count int, timeoutMs int) (float64, float6
|
||||
totalTime += elapsed.Seconds() * 1000 // 转换为毫秒
|
||||
successCount++
|
||||
}
|
||||
|
||||
|
||||
// 如果不是最后一次,等待一下再进行下次测试
|
||||
if i < count-1 {
|
||||
time.Sleep(100 * time.Millisecond)
|
||||
|
||||
Reference in New Issue
Block a user