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. --- lib/unicorn.rb | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/unicorn.rb') diff --git a/lib/unicorn.rb b/lib/unicorn.rb index 8a5fdcc..f9aa73a 100644 --- a/lib/unicorn.rb +++ b/lib/unicorn.rb @@ -26,9 +26,6 @@ module Unicorn end # :stopdoc: - def self.run(app, options = {}) - Unicorn::HttpServer.new(app, options).start.join - end # This returns a lambda to pass in as the app, this does not "build" the # app (which we defer based on the outcome of "preload_app" in the -- cgit v1.2.3-24-ge0c7