From e92badf8be1348254783b4182199432611535811 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 26 Aug 2021 20:43:22 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E4=BD=8E=20[=E6=B5=8B=E9=80=9F?= =?UTF-8?q?=E7=BA=BF=E7=A8=8B=E6=95=B0=E9=87=8F]=20=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=80=BC=E4=B8=BA=20200?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.go b/main.go index 024947d..259dfdc 100644 --- a/main.go +++ b/main.go @@ -28,8 +28,8 @@ CloudflareSpeedTest ` + version + ` https://github.com/XIU2/CloudflareSpeedTest 参数: - -n 500 - 测速线程数量;越多测速越快,性能弱的设备 (如路由器) 请适当调低;(默认 500 最多 1000) + -n 200 + 测速线程数量;越多测速越快,性能弱的设备 (如路由器) 请勿太高;(默认 200 最多 1000) -t 4 延迟测速次数;单个 IP 延迟测速次数,为 1 时将过滤丢包的IP,TCP协议;(默认 4) -tp 443 @@ -64,7 +64,7 @@ https://github.com/XIU2/CloudflareSpeedTest 打印帮助说明 ` - flag.IntVar(&pingRoutine, "n", 500, "测速线程数量") + flag.IntVar(&pingRoutine, "n", 200, "测速线程数量") flag.IntVar(&pingTime, "t", 4, "延迟测速次数") flag.IntVar(&tcpPort, "tp", 443, "延迟测速端口") flag.IntVar(&downloadTestCount, "dn", 20, "下载测速数量") @@ -95,7 +95,7 @@ https://github.com/XIU2/CloudflareSpeedTest os.Exit(0) } if pingRoutine <= 0 { - pingRoutine = 500 + pingRoutine = 200 } if pingTime <= 0 { pingTime = 4