From 960a4e0fbe82c67a3033898b6d4e6b82f664704e Mon Sep 17 00:00:00 2001
From: fangyincheng <fangyincheng@sina.com>
Date: Sat, 21 Sep 2019 19:02:36 +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