Skip to content

Conversation

@maximpavliv
Copy link
Contributor

In #2782, the call_with_timeout() method was not timing out correctly.

This PR fixes this method so that the latestest version retrieval from the web times out if caught in the firewall.

I also added some tests to be sure call_with_timeout() works correctly this time.

@maximpavliv maximpavliv requested a review from n-poulsen December 4, 2024 19:33
@MMathisLab MMathisLab added the GUI issues relating to GUI label Dec 5, 2024
Copy link
Contributor

@n-poulsen n-poulsen left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks @maximpavliv

@n-poulsen n-poulsen merged commit 14a2ade into pytorch_dlc Dec 6, 2024
1 check passed
@n-poulsen n-poulsen deleted the maxim/fix_version_check_timeout branch December 6, 2024 14:44
n-poulsen added a commit that referenced this pull request Dec 6, 2024
maximpavliv pushed a commit that referenced this pull request Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GUI issues relating to GUI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants