about summary refs log tree commit homepage
path: root/lib/rainbows.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-10-22 00:25:59 -0700
committerEric Wong <normalperson@yhbt.net>2009-10-22 00:27:22 -0700
commit98f928bb4949129b2d96617919ac7a6e51a69323 (patch)
tree4c83118959a17da811aa99b4389f0f48656c366f /lib/rainbows.rb
parent1220e4590f7919ad9499b904616e7d95b226a8b2 (diff)
downloadrainbows-98f928bb4949129b2d96617919ac7a6e51a69323.tar.gz
Working for simple GET requests, completely untested otherwise
and most definitely not able to handle async/Comet-style
requests yet, either.  No tests for this are enabled.

This could share a lot of code with the existing Rev model.
Diffstat (limited to 'lib/rainbows.rb')
-rw-r--r--lib/rainbows.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rainbows.rb b/lib/rainbows.rb
index aa58fab..a8985c6 100644
--- a/lib/rainbows.rb
+++ b/lib/rainbows.rb
@@ -56,6 +56,7 @@ module Rainbows
     :ThreadSpawn => 30,
     :ThreadPool => 10,
     :Rev => 50,
+    :EventMachine => 50,
   }.each do |model, _|
     u = model.to_s.gsub(/([a-z0-9])([A-Z0-9])/) { "#{$1}_#{$2.downcase!}" }
     autoload model, "rainbows/#{u.downcase!}"