Skip to content
Snippets Groups Projects
Commit a64717ef authored by xujianhai666's avatar xujianhai666
Browse files

feat(dubbo/client): 增强client的代码

parent 4014c59d
No related branches found
No related tags found
No related merge requests found
......@@ -136,10 +136,10 @@ func NewClient(opt Options) *Client {
switch {
case opt.ConnectTimeout == 0:
opt.ConnectTimeout = 3e9
opt.ConnectTimeout = 3 * time.Second
fallthrough
case opt.RequestTimeout == 0:
opt.RequestTimeout = 3e9
opt.RequestTimeout = 3 * time.Second
}
c := &Client{
......
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