Skip to content

Comments

fix: reduce timeout for manifest download#648

Open
harp-intel wants to merge 1 commit intomainfrom
update-timeout
Open

fix: reduce timeout for manifest download#648
harp-intel wants to merge 1 commit intomainfrom
update-timeout

Conversation

@harp-intel
Copy link
Contributor

Set timeout to 2 seconds for downloading the manifest file.

Signed-off-by: Harper, Jason M <jason.m.harper@intel.com>
@harp-intel harp-intel requested a review from Copilot February 24, 2026 14:35
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a 2-second timeout to the manifest download HTTP request to prevent the application from hanging when the update server is unreachable. It also adds status code validation and improves error messaging.

Changes:

  • Added HTTP client with 2-second timeout for manifest downloads
  • Added HTTP status code validation to return an error for non-200 responses
  • Enhanced error logging to include the error details when update checks fail

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.

1 participant