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

optimize: support rpc timeout can be customized. #4191

Merged

Conversation

objcoding
Copy link
Contributor

  • I have registered the PR changes.

Ⅰ. Describe what this PR did

Ⅱ. Does this pull request fix one issue?

#4190

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@codecov-commenter
Copy link

codecov-commenter commented Dec 10, 2021

Codecov Report

Merging #4191 (f9109bf) into develop (a3f8dce) will decrease coverage by 0.01%.
The diff coverage is 20.00%.

Impacted file tree graph

@@              Coverage Diff              @@
##             develop    #4191      +/-   ##
=============================================
- Coverage      49.37%   49.36%   -0.02%     
- Complexity      3763     3766       +3     
=============================================
  Files            700      701       +1     
  Lines          23664    23685      +21     
  Branches        2925     2924       -1     
=============================================
+ Hits           11685    11692       +7     
- Misses         10780    10795      +15     
+ Partials        1199     1198       -1     
Impacted Files Coverage Δ
...n/src/main/java/io/seata/common/DefaultValues.java 0.00% <0.00%> (ø)
...ava/io/seata/core/constants/ConfigurationKeys.java 0.00% <ø> (ø)
...ta/core/rpc/netty/AbstractNettyRemotingClient.java 18.44% <0.00%> (ø)
...ava/io/seata/core/rpc/netty/NettyServerConfig.java 0.00% <0.00%> (ø)
...io/seata/core/rpc/netty/RmNettyRemotingClient.java 39.16% <0.00%> (-0.33%) ⬇️
...io/seata/core/rpc/netty/TmNettyRemotingClient.java 55.68% <0.00%> (-0.65%) ⬇️
.../autoconfigure/properties/TransportProperties.java 40.00% <25.00%> (-5.46%) ⬇️
...ava/io/seata/core/rpc/netty/NettyClientConfig.java 44.77% <50.00%> (+1.02%) ⬆️
...torage/file/store/FileTransactionStoreManager.java 56.77% <0.00%> (+0.64%) ⬆️

@objcoding objcoding changed the title optimize: support rpc timout can be customized. optimize: support rpc timeout can be customized. Dec 11, 2021
@funky-eyes funky-eyes added this to the 1.5.0 milestone Dec 11, 2021
Copy link
Contributor

@funky-eyes funky-eyes left a comment

Choose a reason for hiding this comment

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

LGTM 请登记pr信息至changes文件夹1.5.0.md

@objcoding
Copy link
Contributor Author

LGTM 请登记pr信息至changes文件夹1.5.0.md

done.

@funky-eyes funky-eyes merged commit 29b851d into apache:develop Dec 13, 2021
@@ -195,6 +195,11 @@ public boolean isEnableClientBatchSendRequest() {
DefaultValues.DEFAULT_ENABLE_TM_CLIENT_BATCH_SEND_REQUEST);
}

@Override
public long getRpcRequestTimeout() {
return NettyClientConfig.getRpcRmRequestTimeout();
Copy link
Member

Choose a reason for hiding this comment

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

rm?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done.

@funky-eyes funky-eyes linked an issue Dec 17, 2021 that may be closed by this pull request
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

support rpc timout can be customized
4 participants