about summary refs log tree commit homepage
path: root/lib/rainbows/never_block
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-01-05 17:06:20 -0800
committerEric Wong <normalperson@yhbt.net>2011-01-06 07:17:19 +0000
commit6bde32081338ce8075854f4c47ce8ca5347df919 (patch)
tree71759032be458838eb33f7951172e8572aec4b6d /lib/rainbows/never_block
parentd6e4975937a9590f48dc39b1a4aefa9d62f34616 (diff)
downloadrainbows-6bde32081338ce8075854f4c47ce8ca5347df919.tar.gz
Code organization is hard :<
Diffstat (limited to 'lib/rainbows/never_block')
-rw-r--r--lib/rainbows/never_block/core.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/never_block/core.rb b/lib/rainbows/never_block/core.rb
index 7188f75..611b3c3 100644
--- a/lib/rainbows/never_block/core.rb
+++ b/lib/rainbows/never_block/core.rb
@@ -8,7 +8,7 @@ module Rainbows::NeverBlock::Core
     base = o[:backend].to_s.gsub!(/([a-z])([A-Z])/, '\1_\2').downcase!
     require "rainbows/never_block/#{base}"
     client_class = Rainbows::NeverBlock::Client
-    client_class.superclass.const_set(:APP, Rainbows::G.server.app)
+    client_class.superclass.const_set(:APP, Rainbows.server.app)
     client_class.const_set(:POOL, pool)
     logger.info "NeverBlock/#{o[:backend]} pool_size=#{o[:pool_size]}"
   end