aboutsummaryrefslogtreecommitdiffstats
path: root/config.ru
diff options
context:
space:
mode:
authorre4k <re4k@re4k.info>2013-05-05 22:28:41 +0900
committerre4k <re4k@re4k.info>2013-05-05 22:28:41 +0900
commite8a67e0e95a34a54feb23ec85a277017269e6b74 (patch)
treea127bf5a3b92dc0bee0be09ba0d7daef8871f62d /config.ru
parent34fb1a26d732a1ca4dd5db1a27eb03e8c5d0f1e8 (diff)
downloadaclog-e8a67e0e95a34a54feb23ec85a277017269e6b74.tar.gz
fix unicorn settings
Diffstat (limited to 'config.ru')
-rw-r--r--config.ru6
1 files changed, 3 insertions, 3 deletions
diff --git a/config.ru b/config.ru
index 8a8c50d..d92d0f1 100644
--- a/config.ru
+++ b/config.ru
@@ -1,8 +1,8 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
require "unicorn_killer"
+require ::File.expand_path('../config/environment', __FILE__)
+
use UnicornKiller::Oom, 144 * 1024
use UnicornKiller::MaxRequests, 1000
+
run Aclog::Application