1 # This file is used by Rack-based servers to start the application.
5 # Unicorn self-process killer
6 require 'unicorn/worker_killer'
8 # Max memory size (RSS) per worker
9 use Unicorn::WorkerKiller::Oom, (200 * (1 << 20)), (250 * (1 << 20))
12 require ::File.expand_path('../config/environment', __FILE__)
14 map ENV['RAILS_RELATIVE_URL_ROOT'] || "/" do
15 run Gitlab::Application