Skip to content
Snippets Groups Projects
Unverified Commit 9f1a9f20 authored by 氕氘氚's avatar 氕氘氚 Committed by GitHub
Browse files

fix: leastactive choose wrong invoker (#2068)

parent 705319dd
No related branches found
No related tags found
No related merge requests found
......@@ -94,7 +94,7 @@ func (lb *leastActiveLoadBalance) Select(invokers []protocol.Invoker, invocation
}
if leastCount == 1 {
return invokers[0]
return invokers[leastIndexes[0]]
}
if !sameWeight && totalWeight > 0 {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment