提交 a770e967 编写于 作者: M Mislav Marohnić

Timeout::Error

上级 9589d614
......@@ -150,7 +150,7 @@ PATCH
end
Timeout.timeout(5) { @server_thread.join(0.01) until responsive? }
rescue TimeoutError
rescue Timeout::Error
tries += 1
retry if tries < 3
raise "Rack application timed out during boot after #{tries} tries"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册