From 5d2284afdc2d4f4ff122394ae5fd78a32cb8c09e Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 10 Jun 2011 23:54:47 +0000 Subject: runtime stack size reductions This reduces the size of `caller` by 5 frames, which should make backtraces easier-to-read, raising exceptions less expensive, and reduce GC runtime. --- bin/unicorn_rails | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/unicorn_rails') diff --git a/bin/unicorn_rails b/bin/unicorn_rails index 58c232b..860a9ce 100755 --- a/bin/unicorn_rails +++ b/bin/unicorn_rails @@ -205,4 +205,4 @@ if rackup_opts[:daemonize] options[:pid] = "tmp/pids/unicorn.pid" Unicorn::Launcher.daemonize!(options) end -Unicorn.run(app, options) +Unicorn::HttpServer.new(app, options).start.join -- cgit v1.2.3-24-ge0c7