Skip to content

Conversation

gaius-qi
Copy link
Member

Description

This pull request simplifies the timeout handling logic in the DfdaemonDownloadServerHandler implementation by removing the conditional timeout parsing and directly using the default configuration value.

Simplification of timeout handling:

Related Issue

Motivation and Context

Screenshots (if appropriate)

Signed-off-by: Gaius <gaius.qi@gmail.com>
@gaius-qi gaius-qi added this to the v2.4.0 milestone Jul 24, 2025
@gaius-qi gaius-qi self-assigned this Jul 24, 2025
@gaius-qi gaius-qi added the enhancement New feature or request label Jul 24, 2025
@gaius-qi gaius-qi requested a review from a team as a code owner July 24, 2025 07:44
Copy link
Contributor

@LunaWhispers LunaWhispers left a comment

Choose a reason for hiding this comment

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

lgtm

@LunaWhispers LunaWhispers enabled auto-merge (squash) July 24, 2025 07:45
Copy link
Member

@chlins chlins left a comment

Choose a reason for hiding this comment

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

lgtm

@LunaWhispers LunaWhispers merged commit 45f8622 into main Jul 24, 2025
8 of 9 checks passed
Copy link

codecov bot commented Jul 24, 2025

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 47.31%. Comparing base (5c87849) to head (8b8d153).
Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
dragonfly-client/src/bin/dfget/main.rs 0.00% 1 Missing ⚠️
dragonfly-client/src/grpc/dfdaemon_download.rs 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1254      +/-   ##
==========================================
+ Coverage   47.28%   47.31%   +0.02%     
==========================================
  Files          60       60              
  Lines       14591    14582       -9     
==========================================
  Hits         6899     6899              
+ Misses       7692     7683       -9     
Files with missing lines Coverage Δ
dragonfly-client/src/bin/dfget/main.rs 25.66% <0.00%> (ø)
dragonfly-client/src/grpc/dfdaemon_download.rs 0.00% <0.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@LunaWhispers LunaWhispers deleted the feature/list branch July 24, 2025 07:47
@gaius-qi gaius-qi restored the feature/list branch July 24, 2025 09:30
@LunaWhispers LunaWhispers deleted the feature/list branch July 24, 2025 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants