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

feat: optimize peertask watch dog #3327

Merged
merged 5 commits into from
Jun 25, 2024
Merged

Conversation

jim3ma
Copy link
Member

@jim3ma jim3ma commented Jun 17, 2024

Description

Related Issue

Motivation and Context

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation Update (if none of the other choices apply)

Checklist

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.

@jim3ma jim3ma requested a review from a team as a code owner June 17, 2024 08:13
jim3ma added 4 commits June 17, 2024 16:38
Signed-off-by: Jim Ma <[email protected]>
Signed-off-by: Jim Ma <[email protected]>
Signed-off-by: Jim Ma <[email protected]>
Copy link

codecov bot commented Jun 20, 2024

Codecov Report

Attention: Patch coverage is 72.72727% with 6 lines in your changes missing coverage. Please review.

Project coverage is 52.56%. Comparing base (1c9484a) to head (03b4c74).
Report is 7 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3327      +/-   ##
==========================================
- Coverage   52.70%   52.56%   -0.14%     
==========================================
  Files         192      192              
  Lines       20427    20473      +46     
==========================================
- Hits        10766    10762       -4     
- Misses       8857     8905      +48     
- Partials      804      806       +2     
Flag Coverage Δ
unittests 52.56% <72.72%> (-0.14%) ⬇️

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

Files Coverage Δ
client/daemon/rpcserver/rpcserver.go 49.01% <100.00%> (ø)
...ent/daemon/peer/peertask_piecetask_synchronizer.go 52.98% <71.42%> (+1.19%) ⬆️

... and 7 files with indirect coverage changes

Copy link
Member

@gaius-qi gaius-qi left a comment

Choose a reason for hiding this comment

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

LGTM

@jim3ma jim3ma merged commit f7ebaaf into main Jun 25, 2024
28 checks passed
@jim3ma jim3ma deleted the feat/optimize-peertask-watch-dog branch June 25, 2024 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants