From 60974e867249f04c8b69d40f44d72ddf4cf54145 Mon Sep 17 00:00:00 2001 From: aylz10 Date: Tue, 16 Jan 2024 23:24:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20proxies.go?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/src/main/golang/native/tunnel/proxies.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/golang/native/tunnel/proxies.go b/core/src/main/golang/native/tunnel/proxies.go index 9ea2bd24..a4a57e2b 100644 --- a/core/src/main/golang/native/tunnel/proxies.go +++ b/core/src/main/golang/native/tunnel/proxies.go @@ -187,7 +187,7 @@ func convertProxies(proxies []C.Proxy, uiSubtitlePattern *regexp2.Regexp) []*Pro Title: strings.TrimSpace(title), Subtitle: strings.TrimSpace(subtitle), Type: p.Type().String(), - Delay: int(p.LastDelay()), + Delay: int(p.LastDelayForTestUrl("https://www.gstatic.com/generate_204")), }) } return result @@ -218,7 +218,7 @@ func collectProviders(providers []provider.ProxyProvider, uiSubtitlePattern *reg Title: strings.TrimSpace(title), Subtitle: strings.TrimSpace(subtitle), Type: px.Type().String(), - Delay: int(px.LastDelay()), + Delay: int(px.LastDelayForTestUrl("https://www.gstatic.com/generate_204")), }) } }