Closed mohamedhafez closed 3 years ago
Timeout.timeout is inefficient since it spins up a new thread for each invocation, use Socket.tcp's connect_timeout option instead
@hsbt this is analogous to https://github.com/ruby/net-http/pull/10 that you just merged in
Timeout.timeout is inefficient since it spins up a new thread for each invocation, use Socket.tcp's connect_timeout option instead