diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-12-22 13:29:09 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-12-22 13:29:09 -0800 |
commit | ca4c0b2938669f96eb0d71a0911275abb247e418 (patch) | |
tree | 53bd071650c67b168595d84a2bc47e8b671a132b /lib/rainbows/base.rb | |
parent | 505e0f7e54e6b0ea0823af92d339a4bffdb51dc1 (diff) | |
download | rainbows-ca4c0b2938669f96eb0d71a0911275abb247e418.tar.gz |
Diffstat (limited to 'lib/rainbows/base.rb')
-rw-r--r-- | lib/rainbows/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/base.rb b/lib/rainbows/base.rb index 20c7681..a29a5bb 100644 --- a/lib/rainbows/base.rb +++ b/lib/rainbows/base.rb @@ -17,7 +17,7 @@ module Rainbows # avoid spurious wakeups and blocking-accept() with 1.8 green threads if RUBY_VERSION.to_f < 1.9 require "io/nonblock" - LISTENERS.each { |l| l.nonblock = true } + HttpServer::LISTENERS.each { |l| l.nonblock = true } end # we're don't use the self-pipe mechanism in the Rainbows! worker |