mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 11:42:43 +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…
Reference in New Issue
Block a user