From 7e58555e6c263beb093fb50e4fe2a6aaf3030f79 Mon Sep 17 00:00:00 2001 From: fangyincheng <fangyincheng@sina.com> Date: Sun, 22 Sep 2019 13:17:51 +0800 Subject: [PATCH] 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 d1e02b11b..c746cf8ef 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) } -- GitLab