Alanxtl commented on code in PR #3270:
URL: https://github.com/apache/dubbo-go/pull/3270#discussion_r2968955107
##########
registry/directory/directory.go:
##########
@@ -69,9 +69,11 @@ type RegistryDirectory struct {
consumerURL *common.URL
cacheOriginUrl *common.URL
configurators []config_center.Configurator
+ configuratorsLock sync.RWMutex
consumerConfigurationListener *consumerConfigurationListener
referenceConfigurationListener *referenceConfigurationListener
registerLock sync.Mutex // this lock if for register
+ subscribedURLLock sync.RWMutex
Review Comment:
```suggestion
subscribedUrlLock sync.RWMutex
```
--
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]