search for: start_web_dispatch

Displaying 1 result from an estimated 1 matches for "start_web_dispatch".

Did you mean: start_web_dispatcher
2010 Nov 09
2
AMQP and Unicorn (mq gem)
...izer with Thread.new { EM.run } for the Rails app and even tried using the Qusion library. (https://github.com/danielsdeleo/qusion) I''ve made a simple mod to Qusion for it to monkey patch unicorn too. The code looks like: /vendor/plugins/qusion/lib/amqp.rb module AMQP def self.start_web_dispatcher(amqp_settings={}) @settings = settings.merge(amqp_settings) case Qusion::ServerSpy.server_type when :passenger PhusionPassenger.on_event(:starting_worker_process) do |forked| if forked EM.kill_reactor Thread.current[:mq], @conn = nil, nil end...