mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-10 14:26:26 -05:00
Update strategy_leastping.go (#1019)
This commit is contained in:
parent
445bc79436
commit
09d900c753
@ -41,6 +41,7 @@ func (l *LeastPingStrategy) PickOutbound(strings []string) string {
|
||||
for _, v := range status {
|
||||
if outboundsList.contains(v.OutboundTag) && v.Alive && v.Delay < leastPing {
|
||||
selectedOutboundName = v.OutboundTag
|
||||
leastPing = v.Delay
|
||||
}
|
||||
}
|
||||
return selectedOutboundName
|
||||
|
Loading…
Reference in New Issue
Block a user