From 09d900c753584a03db8571c2c4301aba692f4ddc Mon Sep 17 00:00:00 2001 From: fanyiguan <52657276+fanyiguang@users.noreply.github.com> Date: Tue, 25 May 2021 21:48:13 +0800 Subject: [PATCH] Update strategy_leastping.go (#1019) --- app/router/strategy_leastping.go | 1 + 1 file changed, 1 insertion(+) diff --git a/app/router/strategy_leastping.go b/app/router/strategy_leastping.go index cc0139547..85c2d19e1 100644 --- a/app/router/strategy_leastping.go +++ b/app/router/strategy_leastping.go @@ -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