diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-08-05 19:08:12 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-08-05 19:08:12 +0000 |
commit | ab175517f8fd22acada6daa46c89edda080fa6a9 (patch) | |
tree | f3530e361dc6a42b93b94d6f74ce755e0b86c84a | |
parent | 7223b868624d19f3421045c2bc5b075bacd83694 (diff) | |
download | rainbows-ab175517f8fd22acada6daa46c89edda080fa6a9.tar.gz |
Oops, testing against new changes against cramp.git here
-rw-r--r-- | lib/rainbows/event_machine.rb | 2 |
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!" |