diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-12-09 17:14:04 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-12-09 17:14:04 -0800 |
commit | 2bb3f8fd600bd0aabe5e4d7c3d1f99d745fc8f49 (patch) | |
tree | d497e2b91c4865c3cf8f1027f58e391165e2741a /lib/rainbows/rev/core.rb | |
parent | af3629e6bd88b5744016a1c6217c00c37ef5a376 (diff) | |
download | rainbows-2bb3f8fd600bd0aabe5e4d7c3d1f99d745fc8f49.tar.gz |
This is only needed for concurrency options that do not use TeeInput, since TeeInput automatically handles this for us.
Diffstat (limited to 'lib/rainbows/rev/core.rb')
-rw-r--r-- | lib/rainbows/rev/core.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rainbows/rev/core.rb b/lib/rainbows/rev/core.rb index abd7ca7..5c5b799 100644 --- a/lib/rainbows/rev/core.rb +++ b/lib/rainbows/rev/core.rb @@ -31,6 +31,7 @@ module Rainbows Server.const_set(:MAX, @worker_connections) Server.const_set(:CL, mod.const_get(:Client)) EvCore.const_set(:APP, G.server.app) + Rainbows::EvCore.setup Heartbeat.new(1, true).attach(rloop) LISTENERS.map! { |s| Server.new(s).attach(rloop) } rloop.run |