whitekeyboard commented on issue #1100:
URL: https://github.com/apache/dubbo-go/issues/1100#issuecomment-806303467


   ```
   // Notify monitor changes from registry,and update the cacheServices
   func (dir *RegistryDirectory) Notify(event *registry.ServiceEvent) {
        if event == nil {
                return
        }
        go dir.refreshInvokers(event)
   }
   ```
   此处的Notify函数直接启用协程处理,个人感觉不是太恰当,尤其对于同一地址和端口的同一interface,上线和下线是应该需要考虑时序的。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to