xxs588 commented on code in PR #3270:
URL: https://github.com/apache/dubbo-go/pull/3270#discussion_r2968972120
##########
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:
感谢,我现在就接受建议
--
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]