You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/07/09 12:00:50 UTC

[GitHub] [dubbo-go] Da-Hong commented on issue #1310: perhaps exists dead lock

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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org