Skip to content

Conversation

@mohamedhafez
Copy link
Contributor

Timeout.timeout is inefficient since it spins up a new thread for each invocation, use Socket.tcp's connect_timeout option instead

Timeout.timeout is inefficient since it spins up a new thread for
each invocation, use Socket.tcp's connect_timeout option instead
@mohamedhafez
Copy link
Contributor Author

@hsbt this is analogous to ruby/net-http#10 that you just merged in

@ioquatix ioquatix merged commit 57e7b86 into ruby:master Jun 14, 2021
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.

3 participants