sofastack / sofa-rpc-node

SOFARPC Node is a high-performance, high-extensibility, production-level Nodejs RPC framework.
MIT License
612 stars 64 forks source link

refactor: enhance elastic control of connections #34

Closed gxcsoccer closed 5 years ago

gxcsoccer commented 5 years ago
  1. 优化了连接数弹性控制逻辑
  2. 重构了一些地方,便于内部版本继承
codecov[bot] commented 5 years ago

Codecov Report

Merging #34 into master will increase coverage by 0.01%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #34      +/-   ##
==========================================
+ Coverage   98.62%   98.63%   +0.01%     
==========================================
  Files          38       38              
  Lines        1818     1837      +19     
==========================================
+ Hits         1793     1812      +19     
  Misses         25       25
Impacted Files Coverage Δ
lib/client/request.js 100% <ø> (ø) :arrow_up:
lib/server/connection.js 98.11% <ø> (ø) :arrow_up:
lib/client/consumer.js 100% <100%> (ø) :arrow_up:
lib/client/address_group.js 98.27% <100%> (+0.11%) :arrow_up:
lib/server/server.js 100% <100%> (ø) :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 4373f2c...22235fb. Read the comment docs.

gxcsoccer commented 5 years ago

sofa-rpc-node@1.8.0