asciinema.org/config.ru
2014-01-29 16:00:24 +01:00

13 lines
322 B
Ruby

# This file is used by Rack-based servers to start the application.
if ENV['RAILS_ENV'] == 'production'
require 'unicorn/worker_killer'
use Unicorn::WorkerKiller::Oom, (160*(1024**2)), (180*(1024**2))
end
require ::File.expand_path('../config/environment', __FILE__)
use Rack::Deflater
run Asciinema::Application