Update strategy_leastping.go (#1019)

This commit is contained in:
fanyiguan
2021-05-25 14:48:13 +01:00
committed by GitHub
parent 445bc79436
commit 09d900c753
+1
View File
@@ -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