Skip to content

Commit

Permalink
修改下载测速默认协程数为1
Browse files Browse the repository at this point in the history
  • Loading branch information
sinspired committed Oct 8, 2024
1 parent c3185d3 commit 0578c61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ var (
outFile = flag.String("outfile", "result.csv", "输出文件名称(自动设置)") // 输出文件名称
defaultPort = flag.Int("port", 443, "默认端口") // 端口
maxThreads = flag.Int("max", 200, "并发请求最大协程数") // 最大协程数
speedTestThreads = flag.Int("speedtest", 5, "下载测速协程数量,设为0禁用测速") // 下载测速协程数量
speedTestThreads = flag.Int("speedtest", 1, "下载测速协程数量,设为0禁用测速") // 下载测速协程数量
speedLimit = flag.Float64("speedlimit", 5, "最低下载速度(MB/s)") // 最低下载速度
speedTestURL = flag.String("url", "speed.cloudflare.com/__down?bytes=200000000", "测速文件地址") // 测速文件地址
enableTLS = flag.Bool("tls", true, "是否启用TLS") // TLS是否启用
Expand Down

0 comments on commit 0578c61

Please sign in to comment.