Skip to content
Snippets Groups Projects
Unverified Commit 5e815ea0 authored by Xin.Zh's avatar Xin.Zh Committed by GitHub
Browse files

Merge pull request #269 from xujianhai666/feat-client

feat(dubbo/client): 增强client的代码
parents 21d82629 a64717ef
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