lib/firehose/server/app.rb
# Boot the Firehose server with the Thin app server.
Boot the Firehose server with the Thin app server.
Boot the Firehose server with the Thin app server .
def start_thin
        require 'thin'
        Faye::WebSocket.load_adapter('thin')
        Thin::Logging.silent = true if Firehose.logger.level == Logger::ERROR
        server = Thin::Server.new(@host, @port) do
          run Firehose::Rack::App.new
        end.start
      end
def start_thin require 'thin' Faye :: WebSocket . load_adapter ( 'thin' ) Thin :: Logging . silent = true if Firehose . logger . level == Logger :: ERROR server = Thin :: Server . new ( @host , @port ) do run Firehose :: Rack :: App . new end . start end
Boot the Firehose server with the Thin app server.
Boot the Firehose server with the Thin app server .
# TODO: See if we can just set Thin to use Firehose.logger instead of #       printing out messages by itself.