From 0738b184e4d22a196cab459179a04f33a0fafbcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Sat, 17 Sep 2022 20:52:16 +0800 Subject: [PATCH] Fix url test interval --- outbound/urltest.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/outbound/urltest.go b/outbound/urltest.go index ef399fc6..eca5568b 100644 --- a/outbound/urltest.go +++ b/outbound/urltest.go @@ -148,7 +148,7 @@ func NewURLTestGroup(router adapter.Router, logger log.Logger, outbounds []adapt link = "http://www.gstatic.com/generate_204" } if interval == 0 { - interval = C.TCPTimeout + interval = C.DefaultURLTestInterval } if tolerance == 0 { tolerance = 50