about summary refs log tree commit homepage
path: root/lib/rainbows/rev/core.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-12-26 03:29:16 +0000
committerEric Wong <normalperson@yhbt.net>2010-12-26 03:29:16 +0000
commit17156f6f561c6d697a83e3b9beae2d58eb796428 (patch)
tree14c02ce893cc15e2f72b2e2a1ea8d9d4a89ff328 /lib/rainbows/rev/core.rb
parent68accc9930b0653b702553790d4ccd626a8dfdfe (diff)
downloadrainbows-17156f6f561c6d697a83e3b9beae2d58eb796428.tar.gz
This makes constant resolution more predictable, we hope.
Diffstat (limited to 'lib/rainbows/rev/core.rb')
-rw-r--r--lib/rainbows/rev/core.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rainbows/rev/core.rb b/lib/rainbows/rev/core.rb
index 78d9601..c7aeb04 100644
--- a/lib/rainbows/rev/core.rb
+++ b/lib/rainbows/rev/core.rb
@@ -17,6 +17,7 @@ module Rainbows::Rev::Core
     init_worker_process(worker)
     mod = Rainbows.const_get(@use)
     rloop = Rainbows::Rev::Server.const_set(:LOOP, ::Rev::Loop.default)
+    Rainbows::Rev::Client.const_set(:LOOP, rloop)
     Rainbows::Rev::Server.const_set(:MAX, @worker_connections)
     Rainbows::Rev::Server.const_set(:CL, mod.const_get(:Client))
     Rainbows::EvCore.const_set(:APP, G.server.app)