lib/flapjack/api.rb in flapjack-0.6.41 vs lib/flapjack/api.rb in flapjack-0.6.42

- old
+ new

@@ -67,13 +67,10 @@ use Rack::FiberPool, :size => 25, :rescue_exception => rescue_exception end use Rack::MethodOverride use Rack::JsonParamsParser - api_logger = Flapjack::RackLogger.new('log/api_access.log') - use Rack::CommonLogger, api_logger - class << self include Flapjack::ThinPikelet attr_accessor :redis @@ -86,10 +83,9 @@ if config && config['access_log'] access_logger = Flapjack::RackLogger.new(config['access_log']) use Rack::CommonLogger, access_logger end - end def cleanup @redis.empty! if @redis thin_cleanup