summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array/shared/difference.rb
diff options
context:
space:
mode:
authormohamed <mohamed.m.m.hafez@gmail.com>2021-02-15 10:25:59 -0800
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-04-27 21:20:48 +0900
commita86c6cb34df0c44973efe6578ba1cd9150af22cf (patch)
tree41bf4978d4cb31930ab05b7d6c49efa0b43e4d92 /spec/ruby/core/array/shared/difference.rb
parentfb819d93316b4d17543a491752ec3a2984c69d70 (diff)
[ruby/net-ftp] Replace Timeout.timeout with socket timeout
Timeout.timeout is inefficient since it spins up a new thread for each invocation, use Socket.tcp's connect_timeout option instead when we aren't using SOCKS (we can't replace Timeout.timeout for SOCKS yet since SOCKSSocket doesn't have a connect_timeout option). https://github.com/ruby/net-ftp/commit/d65910132f
Diffstat (limited to 'spec/ruby/core/array/shared/difference.rb')
0 files changed, 0 insertions, 0 deletions