-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Replace Timeout.timeout in Net:HTTP#connect"
This reverts commit 753cae3.
- Loading branch information
Showing
1 changed file
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
98caa38
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hsbt It looks like the Timeout.timout code creates an issue when starting HTTP requests from an enclosed threadgroup. airbrake/airbrake-ruby#713 (comment)
Summary: Timeout.timeout moves the waiting thread to the default threadgroup, which fails if it's called from an enclosed thread.