Da-Hong commented on issue #1310:
URL: https://github.com/apache/dubbo-go/issues/1310#issuecomment-877134768
func NewRegistryConfigurationListener(client *gxzookeeper.ZookeeperClient,
reg *zkRegistry, conf *common.URL) *RegistryConfigurationListener {
reg.WaitGroup().Add(1)
return &RegistryConfigurationListener{
client: client,
registry: reg,
events: make(chan *config_center.ConfigChangeEvent, 32),
isClosed: false,
close: make(chan struct{}, 1),
subscribeURL: conf}
}
Cause by events chan 32
First InitListeners will fill events more than 32 so getListener locked.
--
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]