sofastack / sofa-bolt-python

The Python implementation of the SOFABolt protocol.
Apache License 2.0
47 stars 14 forks source link

asyncio client same host use single connection #7

Closed dzdx closed 4 years ago

dzdx commented 4 years ago
  1. asyncio.streams.IncompleteReadError move to asyncio.exceptions.IncompleteReadError in Python3.9
  2. one aioclient to same host use one connection
  3. single flight dial in multi threading
codecov-io commented 4 years ago

Codecov Report

Merging #7 into master will decrease coverage by 0.83%. The diff coverage is 92.85%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #7      +/-   ##
==========================================
- Coverage   83.77%   82.93%   -0.84%     
==========================================
  Files          58       58              
  Lines        1824     1834      +10     
==========================================
- Hits         1528     1521       -7     
- Misses        296      313      +17     
Impacted Files Coverage Δ
anthunder/client/aio_client.py 63.79% <90.00%> (-0.88%) :arrow_down:
anthunder/listener/aio_listener.py 68.68% <100.00%> (-7.15%) :arrow_down:
tests/test_aio_listener_client.py 98.97% <100.00%> (+0.03%) :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 eb26ba3...15b7bb1. Read the comment docs.