Fix url test interval

This commit is contained in:
世界 2022-09-17 20:52:16 +08:00
parent 42524ba04e
commit 0738b184e4
No known key found for this signature in database
GPG key ID: CD109927C34A63C4

View file

@ -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