sofastack / sofa-rpc

SOFARPC is a high-performance, high-extensibility, production-level Java RPC framework.
https://www.sofastack.tech/sofa-rpc/docs/Home
Apache License 2.0
3.81k stars 1.17k forks source link

[ISSUE #1122] support custom `asyncThreadPool` #1194

Closed loongs-zhang closed 2 years ago

loongs-zhang commented 2 years ago

see https://github.com/sofastack/sofa-rpc/issues/1122

sofastack-bot[bot] commented 2 years ago

Hi @dragon-zhang, welcome to SOFAStack community, Please sign Contributor License Agreement!

After you signed CLA, we will automatically sync the status of this pull request in 3 minutes.

loongs-zhang commented 2 years ago
111111企业微信截图_2e680565-6575-4875-ab2a-52efaa9e94bc

我明明签了CLA呀

seeflood commented 2 years ago

@dragon-zhang cla好啦,感谢贡献。

loongs-zhang commented 2 years ago

@dragon-zhang cla好啦,感谢贡献。

em...master的测试用例有些问题,这个PR只加了设置线程池的方法.

codecov[bot] commented 2 years ago

Codecov Report

Merging #1194 (b456939) into master (2f23db9) will decrease coverage by 0.07%. The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master    #1194      +/-   ##
============================================
- Coverage     71.58%   71.50%   -0.08%     
+ Complexity      830      827       -3     
============================================
  Files           408      408              
  Lines         17211    17213       +2     
  Branches       2682     2682              
============================================
- Hits          12320    12309      -11     
- Misses         3529     3540      +11     
- Partials       1362     1364       +2     
Impacted Files Coverage Δ
...java/com/alipay/sofa/rpc/context/AsyncRuntime.java 78.57% <0.00%> (-6.05%) :arrow_down:
...m/alipay/sofa/rpc/module/FaultToleranceModule.java 63.63% <0.00%> (-31.82%) :arrow_down:
...ofa/rpc/registry/consul/HealthServiceInformer.java 84.78% <0.00%> (-4.35%) :arrow_down:
.../main/java/com/alipay/sofa/rpc/event/EventBus.java 78.43% <0.00%> (-1.97%) :arrow_down:
.../alipay/sofa/rpc/metrics/lookout/RpcLookoutId.java 87.30% <0.00%> (-1.59%) :arrow_down:
...om/alipay/sofa/rpc/metrics/lookout/RpcLookout.java 80.00% <0.00%> (-0.96%) :arrow_down:
...n/java/com/alipay/sofa/rpc/common/SofaConfigs.java 86.79% <0.00%> (+1.88%) :arrow_up:

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 2f23db9...b456939. Read the comment docs.