From 89d5aa6894af87e055c118dc68bff340547abf5b Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 11 Oct 2009 02:20:45 -0700 Subject: No need to be halving timeout, already done for us In Unicorn by HttpServer#init_worker_process --- lib/rainbows/thread_spawn.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rainbows/thread_spawn.rb') diff --git a/lib/rainbows/thread_spawn.rb b/lib/rainbows/thread_spawn.rb index ef5d3db..c9fd23c 100644 --- a/lib/rainbows/thread_spawn.rb +++ b/lib/rainbows/thread_spawn.rb @@ -23,7 +23,7 @@ module Rainbows begin ret = begin alive.chmod(m = 0 == m ? 1 : 0) - IO.select(LISTENERS, nil, nil, timeout/2.0) or next + IO.select(LISTENERS, nil, nil, timeout) or next rescue Errno::EINTR retry rescue Errno::EBADF, TypeError -- cgit v1.2.3-24-ge0c7