Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ftr: Develop req timeout config #284

Merged
merged 13 commits into from
Jan 8, 2020

Conversation

pantianying
Copy link
Member

What this PR does:

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


Copy link
Member

@flycash flycash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reviewed

@zouyx
Copy link
Member

zouyx commented Dec 18, 2019

does this pr add request timeout for each remote method?

@pantianying pantianying changed the title Ftr: Develop req timeout config WIP:Ftr: Develop req timeout config Dec 20, 2019
@pantianying pantianying changed the title WIP:Ftr: Develop req timeout config [WIP]:Ftr: Develop req timeout config Dec 20, 2019
@codecov-io
Copy link

codecov-io commented Jan 6, 2020

Codecov Report

Merging #284 into develop will decrease coverage by 0.8%.
The diff coverage is 42.1%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #284      +/-   ##
===========================================
- Coverage    66.58%   65.77%   -0.81%     
===========================================
  Files          112      113       +1     
  Lines         7182     7255      +73     
===========================================
- Hits          4782     4772      -10     
- Misses        1934     2008      +74     
- Partials       466      475       +9
Impacted Files Coverage Δ
config/method_config.go 50% <ø> (ø) ⬆️
config/reference_config.go 78.78% <0%> (-3.32%) ⬇️
common/url.go 68.62% <100%> (-0.66%) ⬇️
protocol/dubbo/client.go 67.94% <25%> (-1.14%) ⬇️
protocol/jsonrpc/jsonrpc_protocol.go 91.83% <60%> (-3.72%) ⬇️
protocol/dubbo/dubbo_protocol.go 91.83% <60%> (-3.72%) ⬇️
protocol/dubbo/pool.go 59.51% <0%> (-15.13%) ⬇️
protocol/dubbo/listener.go 50.28% <0%> (-10.41%) ⬇️
protocol/dubbo/codec.go 70.27% <0%> (-5.41%) ⬇️
protocol/dubbo/readwriter.go 68.29% <0%> (-2.44%) ⬇️
... and 36 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 01f84dc...b2b66c3. Read the comment docs.

@pantianying
Copy link
Member Author

does this pr add request timeout for each remote method?

yes

@pantianying pantianying changed the title [WIP]:Ftr: Develop req timeout config Ftr: Develop req timeout config Jan 7, 2020
@flycash
Copy link
Member

flycash commented Jan 8, 2020

LGTM

@flycash
Copy link
Member

flycash commented Jan 8, 2020

LGTM

//default requestTimeout
var requestTimeout = config.GetConsumerConfig().RequestTimeout

requestTimeoutStr := url.GetParam(constant.REQUEST_TIMEOUT, config.GetConsumerConfig().Request_Timeout)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when is REQUEST_TIMEOUT set to url

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Copy link
Contributor

@hxmhlt hxmhlt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@fangyincheng fangyincheng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fangyincheng fangyincheng merged commit bfa60ea into apache:develop Jan 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants