summary refs log tree commit homepage
path: root/lib/rainbows/event_machine.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-08-05 19:08:12 +0000
committerEric Wong <normalperson@yhbt.net>2011-08-05 19:08:12 +0000
commitab175517f8fd22acada6daa46c89edda080fa6a9 (patch)
treef3530e361dc6a42b93b94d6f74ce755e0b86c84a /lib/rainbows/event_machine.rb
parent7223b868624d19f3421045c2bc5b075bacd83694 (diff)
Oops, testing against new changes against cramp.git here
Diffstat (limited to 'lib/rainbows/event_machine.rb')
-rw-r--r--lib/rainbows/event_machine.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/event_machine.rb b/lib/rainbows/event_machine.rb
index 64f61da..a86cab8 100644
--- a/lib/rainbows/event_machine.rb
+++ b/lib/rainbows/event_machine.rb
@@ -82,7 +82,7 @@ module Rainbows::EventMachine
     max = worker_connections + LISTENERS.size
     Rainbows::EventMachine::Server.const_set(:MAX, max)
     Rainbows::EventMachine::Server.const_set(:CL, client_class)
-    client_class.const_set(:APP, Rainbows.server.app)
+    Rainbows::EventMachine::Client.const_set(:APP, Rainbows.server.app)
     EM.run {
       conns = EM.instance_variable_get(:@conns) or
         raise RuntimeError, "EM @conns instance variable not accessible!"