You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2019/09/22 08:05:47 UTC
[dubbo-go] branch master updated: Fix: registryProtocol.Export
This is an automated email from the ASF dual-hosted git repository.
alexstocks pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git
The following commit(s) were added to refs/heads/master by this push:
new 05d6b72 Fix: registryProtocol.Export
new 8a41f12 Merge pull request #213 from fangyincheng/fixbug
05d6b72 is described below
commit 05d6b7249ebd7eda26f092c05489439e1b4039db
Author: fangyincheng <fa...@sina.com>
AuthorDate: Sun Sep 22 13:17:51 2019 +0800
Fix: registryProtocol.Export
---
registry/protocol/protocol.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/registry/protocol/protocol.go b/registry/protocol/protocol.go
index d1e02b1..c746cf8 100644
--- a/registry/protocol/protocol.go
+++ b/registry/protocol/protocol.go
@@ -174,7 +174,7 @@ func (proto *registryProtocol) Export(invoker protocol.Invoker) protocol.Exporte
logger.Infof("The exporter has not been cached, and will return a new exporter!")
}
- reg.Subscribe(overriderUrl, overrideSubscribeListener)
+ go reg.Subscribe(overriderUrl, overrideSubscribeListener)
return cachedExporter.(protocol.Exporter)
}