update core 1.9.3

This commit is contained in:
armv9
2024-07-02 12:02:34 +09:00
parent 8a2eab506f
commit 961112ea5b
12 changed files with 200 additions and 206 deletions

View File

@@ -43,7 +43,7 @@ func DoFullTest(ctx context.Context, in *gen.TestReq, instance interface{}) (out
// Latency
var latency string
if in.FullLatency {
t, _ := speedtest.UrlTest(httpClient, in.Url, in.Timeout)
t, _ := speedtest.UrlTest(httpClient, in.Url, in.Timeout, speedtest.UrlTestStandard_RTT)
out.Ms = t
if t > 0 {
latency = fmt.Sprint(t, "ms")