mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-07-17 21:31:04 +03:00
Fix url test interval
This commit is contained in:
@@ -148,7 +148,7 @@ func NewURLTestGroup(router adapter.Router, logger log.Logger, outbounds []adapt
|
|||||||
link = "http://www.gstatic.com/generate_204"
|
link = "http://www.gstatic.com/generate_204"
|
||||||
}
|
}
|
||||||
if interval == 0 {
|
if interval == 0 {
|
||||||
interval = C.TCPTimeout
|
interval = C.DefaultURLTestInterval
|
||||||
}
|
}
|
||||||
if tolerance == 0 {
|
if tolerance == 0 {
|
||||||
tolerance = 50
|
tolerance = 50
|
||||||
|
|||||||
Reference in New Issue
Block a user