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: don't gc client rpc connection if ExpireTime is 0 #1296

Merged
merged 1 commit into from
May 9, 2022

Conversation

eryugey
Copy link
Contributor

@eryugey eryugey commented May 8, 2022

In case we don't want to GC client connections in some special
circumstances.

Signed-off-by: Eryu Guan [email protected]

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.

In case we don't want to GC client connections in some special
circumstances.

Signed-off-by: Eryu Guan <[email protected]>
@eryugey eryugey requested a review from a team as a code owner May 8, 2022 12:14
@codecov-commenter
Copy link

Codecov Report

Merging #1296 (f390d22) into main (655d450) will decrease coverage by 0.21%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1296      +/-   ##
==========================================
- Coverage   46.33%   46.12%   -0.22%     
==========================================
  Files         137      137              
  Lines       11625    11625              
==========================================
- Hits         5387     5362      -25     
- Misses       5649     5667      +18     
- Partials      589      596       +7     
Flag Coverage Δ
Object-compatibility-e2etests ?
e2etests ?
unittests 46.12% <ø> (-0.22%) ⬇️

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

Impacted Files Coverage Δ
cdn/supervisor/progress/progress.go 90.62% <0.00%> (-6.25%) ⬇️
...ent/daemon/peer/peertask_piecetask_synchronizer.go 42.56% <0.00%> (-4.11%) ⬇️
client/daemon/peer/peertask_conductor.go 57.84% <0.00%> (-1.04%) ⬇️
scheduler/service/service.go 82.70% <0.00%> (-0.64%) ⬇️

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

Copy link
Member

@jim3ma jim3ma 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 718e3dc into dragonflyoss:main May 9, 2022
gaius-qi pushed a commit that referenced this pull request Jun 28, 2023
In case we don't want to GC client connections in some special
circumstances.

Signed-off-by: Eryu Guan <[email protected]>
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.

4 participants