AlexStocks commented on a change in pull request #1605:
URL: https://github.com/apache/dubbo-go/pull/1605#discussion_r753706135



##########
File path: protocol/rpc_status.go
##########
@@ -261,14 +238,14 @@ func NewServiceState(serviceKey string) 
*ServiceHealthState {
        return serviceState
 }
 
-func (s *ServiceHealthState) reset() {
-       s.refresh.Store(false)
-       atomic.StoreInt32(s.rebuildRoute, 0)
-       s.blackList.Range(func(key, value interface{}) bool {
-               s.blackList.Delete(key)
-               return true
-       })
-}
+//func (s *ServiceHealthState) reset() {

Review comment:
       if u think it is useless, pls delete it




-- 
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.

To unsubscribe, e-mail: [email protected]

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