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

don't use Timeout.timeout() #2147

Merged

Conversation

fallwith
Copy link
Contributor

@fallwith fallwith commented Aug 1, 2023

(outside of test/) don't use Timeout.timeout() when the underlying library has timeout functionality itself.

resolves #975

(outside of `test/`) don't use `Timeout.timeout()` when the underlying
library has timeout functionality itself.

resolves #975
CHANGELOG for issue 975
When yield phony AWS metadata checks, ignore all options sent to
Net::HTTP beyond address and port.
hannahramadan
hannahramadan previously approved these changes Aug 1, 2023
Copy link
Contributor

@hannahramadan hannahramadan left a comment

Choose a reason for hiding this comment

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

This makes sense to me!

* do not have Net::HTTP override OpenSSL specific timeouts
* add TODOs to remind us to clean things up once we specifically only
  target Ruby versions 2.6 and above
@github-actions
Copy link

github-actions bot commented Aug 2, 2023

SimpleCov Report

Coverage Threshold
Line 94.25% 94%
Branch 85.72% 85%

Copy link
Contributor

@tannalynn tannalynn left a comment

Choose a reason for hiding this comment

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

Awesome, thanks for explaining everything and adding the todos!

Copy link
Contributor

@kaylareopelle kaylareopelle left a comment

Choose a reason for hiding this comment

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

Kudos to @fallwith and @tannalynn for your great discussion about this PR! It helped me a lot during my review.

@fallwith fallwith merged commit 7f38c1d into dev Aug 2, 2023
26 checks passed
@fallwith fallwith deleted the it-s_too_bad_she_won-t_live_-_but_then_again_-_who_does branch August 22, 2023 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Replace calls to Timeout.timeout()
4 participants