Skip to content
Snippets Groups Projects
Commit f9c354bd authored by cvictory's avatar cvictory
Browse files

fix: if the registry center notify address list, it cannot remove invoker list from cache

parent 18e37d80
No related branches found
No related tags found
No related merge requests found
......@@ -186,9 +186,6 @@ func (c *RouterChain) copyInvokerIfNecessary(cache *InvokerCache) []protocol.Inv
func (c *RouterChain) buildCache() {
origin := c.loadCache()
invokers := c.copyInvokerIfNecessary(origin)
if invokers == nil || len(invokers) == 0 {
return
}
var (
mutex sync.Mutex
......
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