about summary refs log tree commit homepage
path: root/lib/rainbows.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-05-06 00:38:53 +0000
committerEric Wong <normalperson@yhbt.net>2011-05-06 00:38:53 +0000
commit21a1a20223986af8c8962cafe2e0f1eae0dcfd19 (patch)
tree70634b9eded59c078befa7b875df81cb2bcb34a7 /lib/rainbows.rb
parent0efe7b677b076a32ef54e5f2f0a9861eb1f7f3d9 (diff)
downloadrainbows-21a1a20223986af8c8962cafe2e0f1eae0dcfd19.tar.gz
More sharing, faster startups, and most importantly,
better error reporting if some things are missing.
Diffstat (limited to 'lib/rainbows.rb')
-rw-r--r--lib/rainbows.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rainbows.rb b/lib/rainbows.rb
index f731a6a..395ce13 100644
--- a/lib/rainbows.rb
+++ b/lib/rainbows.rb
@@ -1,6 +1,7 @@
 # -*- encoding: binary -*-
 require 'kgio'
 require 'unicorn'
+require 'io/wait'
 Unicorn::SocketHelper::DEFAULTS.merge!({
   # the value passed to TCP_DEFER_ACCEPT actually matters in Linux 2.6.32+
   :tcp_defer_accept => 60,