Skip to content
Snippets Groups Projects
Commit a07abf32 authored by 高辛格's avatar 高辛格
Browse files

modify yaml

parent e12c7fb5
No related branches found
No related tags found
No related merge requests found
# dubbo client yaml configure file
check: true
# client
request_timeout : "3s"
# connect timeout
connect_timeout : "3s"
# application config
application_config:
organization : "ikurento.com"
name : "BDTService"
......@@ -17,7 +7,7 @@ application_config:
environment : "test"
registries :
"hangzhouzk":
"consul":
protocol: "consul"
timeout : "3s"
address: "127.0.0.1:8500"
......@@ -56,3 +46,7 @@ protocol_conf:
wait_timeout: "1s"
max_msg_len: 10240
session_name: "client"
check: true
request_timeout : "3s"
connect_timeout : "3s"
# dubbo server yaml configure file
# application config
application_config:
organization : "ikurento.com"
name : "BDTService"
......@@ -11,7 +7,7 @@ application_config:
environment : "test"
registries :
"hangzhouzk":
"consul":
protocol: "consul"
timeout : "3s"
address: "127.0.0.1:8500"
......@@ -33,10 +29,8 @@ services:
protocols:
"dubbo1":
name: "dubbo"
# ip : "127.0.0.1"
port: 20000
protocol_conf:
dubbo:
session_number: 700
......
......@@ -94,8 +94,8 @@ func newConsulListener(registryUrl common.URL, consumerUrl common.URL) (*consulL
consumerUrl: consumerUrl,
plan: plan,
urls: make([]common.URL, 0, 8),
eventCh: make(chan *registry.ServiceEvent),
errCh: make(chan error),
eventCh: make(chan *registry.ServiceEvent, 32),
errCh: make(chan error, 32),
done: make(chan struct{}),
}
......
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