diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-06-10 23:54:47 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-06-11 00:23:57 +0000 |
commit | 5d2284afdc2d4f4ff122394ae5fd78a32cb8c09e (patch) | |
tree | 5dcdc08565def75ba7d7f106f30d45de9a6de1e2 /bin/unicorn_rails | |
parent | 987b9496171b090e62de488ddc7b9a175c4c8d33 (diff) | |
download | unicorn-5d2284afdc2d4f4ff122394ae5fd78a32cb8c09e.tar.gz |
This reduces the size of `caller` by 5 frames, which should make backtraces easier-to-read, raising exceptions less expensive, and reduce GC runtime.
Diffstat (limited to 'bin/unicorn_rails')
-rwxr-xr-x | bin/unicorn_rails | 2 |
1 files changed, 1 insertions, 1 deletions
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 |