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

refactor: make some functions private #2208

Merged
merged 1 commit into from Mar 18, 2021
Merged

refactor: make some functions private #2208

merged 1 commit into from Mar 18, 2021

Conversation

JoanFM
Copy link
Member

@JoanFM JoanFM commented Mar 18, 2021

No description provided.

@JoanFM JoanFM requested a review from a team as a code owner March 18, 2021 15:21
@jina-bot jina-bot added size/S area/core This issue/PR affects the core codebase area/network This issue/PR affects network functionality component/peapod labels Mar 18, 2021
@codecov
Copy link

codecov bot commented Mar 18, 2021

Codecov Report

Merging #2208 (e02254e) into master (8c3f1e9) will increase coverage by 0.15%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2208      +/-   ##
==========================================
+ Coverage   90.26%   90.42%   +0.15%     
==========================================
  Files         208      208              
  Lines       11231    11226       -5     
==========================================
+ Hits        10138    10151      +13     
+ Misses       1093     1075      -18     
Flag Coverage Δ
daemon 50.24% <100.00%> (+0.01%) ⬆️
jina 90.88% <100.00%> (+0.16%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
jina/__init__.py 73.49% <100.00%> (ø)
jina/peapods/zmq/__init__.py 80.80% <100.00%> (-1.21%) ⬇️
jina/clients/base.py 80.16% <0.00%> (-2.48%) ⬇️
jina/executors/indexers/keyvalue.py 99.21% <0.00%> (+0.78%) ⬆️
jina/drivers/search.py 98.18% <0.00%> (+1.81%) ⬆️
jina/peapods/runtimes/asyncio/rest/app.py 93.52% <0.00%> (+15.82%) ⬆️

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 7e93b64...e02254e. Read the comment docs.

@github-actions
Copy link

github-actions bot commented Mar 18, 2021

Latency summary

Current PR yields:

  • 😶 index QPS at 1095, delta to last 3 avg.: +2%
  • 😶 query QPS at 16, delta to last 3 avg.: +0%

Breakdown

Version Index QPS Query QPS
current 1095 16
1.0.11 1095 15
1.0.10 1043 16

Backed by latency-tracking. Further commits will update this comment.

@@ -280,13 +280,6 @@ def recv_message(
if callback:
return callback(msg)

def clear_stats(self):
Copy link
Member

Choose a reason for hiding this comment

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

This would get used once we start using profile_logger properly.

@JoanFM JoanFM merged commit 091329b into master Mar 18, 2021
@JoanFM JoanFM deleted the zmq-private branch March 18, 2021 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core This issue/PR affects the core codebase area/network This issue/PR affects network functionality component/peapod size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants