config/rainbows.rb in firehose-1.1.1 vs config/rainbows.rb in firehose-1.2.0

- old
+ new

@@ -1,7 +1,8 @@ -# TODO - Dunno what a lot of this stuff is... Tune with benchmarks -# http://rainbows.rubyforge.org/Rainbows/Configurator.html +# Configuration from http://rainbows.rubyforge.org/Rainbows/Configurator.html. Don't juse +# blindly copy and paste this configuration! Be sure you have read and understand the Rainbows +# configuration documentation for your environment. Rainbows! do use :EventMachine # concurrency model worker_connections 400 keepalive_timeout 0 # disables keepalives @@ -14,7 +15,7 @@ worker_processes [ENV['WORKER_PROCESSES'].to_i, 1].max # Default to 1 working_directory ENV['WORKING_DIRECTORY'] if ENV['WORKING_DIRECTORY'] logger Firehose.logger after_fork do |server, worker| - require 'rainbows_em_swf_policy' + require 'firehose/patches/rainbows' end if ENV['RACK_ENV'] == 'development'