mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2025-01-08 18:33:47 +08:00
Fix: should reset fast node when tolerance enable and not alive on url-test group
This commit is contained in:
parent
a1f3a5ea26
commit
0a35237915
@ -79,7 +79,7 @@ func (u *URLTest) fast(touch bool) C.Proxy {
|
||||
}
|
||||
|
||||
// tolerance
|
||||
if u.fastNode == nil || u.fastNode.LastDelay() > fast.LastDelay()+u.tolerance {
|
||||
if u.fastNode == nil || !u.fastNode.Alive() || u.fastNode.LastDelay() > fast.LastDelay()+u.tolerance {
|
||||
u.fastNode = fast
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user