1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Use Timeout.timeout instead of Object.timeout

This commit is contained in:
Matt Larraz 2016-01-14 20:45:20 -06:00
parent d43605e3de
commit 64d4dabca7

View file

@ -40,7 +40,7 @@ class TestPersistent < Test::Unit::TestCase
def lines(count, s=@client)
str = ""
timeout(5) do
Timeout.timeout(5) do
count.times { str << s.gets }
end
str