1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Extend Net::HTTP#open_timeout for chkbuild on Solaris 10s.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
shugo 2016-11-07 06:57:14 +00:00
parent 4c5f4258aa
commit 233fa910d1

View file

@ -128,7 +128,7 @@ module Net
end
smtp = Net::SMTP.new("localhost", servers[0].local_address.ip_port)
smtp.enable_tls
smtp.open_timeout = 0.1
smtp.open_timeout = 1
smtp.start do
end
ensure