Skip to content
Snippets Groups Projects
Commit af6534d0 authored by lizhipeng's avatar lizhipeng
Browse files

Merge remote-tracking branch 'remotes/dubbo-go/feature/dubbo-2.7.5' into feature/dubbo-2.7.5

# Conflicts:
#	config/service_config.go
#	config/service_config_test.go
#	go.sum
parents 08c123a9 d3c3c410
No related branches found
No related tags found
No related merge requests found
......@@ -102,6 +102,7 @@ func loadConsumerConfig() {
metricConfig = consumerConfig.MetricConfig
applicationConfig = consumerConfig.ApplicationConfig
extension.SetAndInitGlobalDispatcher(consumerConfig.eventDispatcherType)
extension.SetAndInitGlobalDispatcher(consumerConfig.eventDispatcherType)
......@@ -180,6 +181,7 @@ func loadProviderConfig() {
// so, you should know that the consumer's config will be override
metricConfig = providerConfig.MetricConfig
applicationConfig = providerConfig.ApplicationConfig
extension.SetAndInitGlobalDispatcher(providerConfig.eventDispatcherType)
extension.SetAndInitGlobalDispatcher(consumerConfig.eventDispatcherType)
......@@ -196,6 +198,7 @@ func loadProviderConfig() {
}
svs.id = key
svs.Implement(rpcService)
svs.Protocols = providerConfig.Protocols
if err := svs.Export(); err != nil {
panic(fmt.Sprintf("service %s export failed! err: %#v", key, err))
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment