asciinema.org/config.ru

13 lines
322 B
Plaintext
Raw Normal View History

# 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
2014-01-27 17:05:18 +00:00
require ::File.expand_path('../config/environment', __FILE__)
use Rack::Deflater
run Asciinema::Application