about summary refs log tree commit homepage
path: root/lib/unicorn.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-06-10 23:54:47 +0000
committerEric Wong <normalperson@yhbt.net>2011-06-11 00:23:57 +0000
commit5d2284afdc2d4f4ff122394ae5fd78a32cb8c09e (patch)
tree5dcdc08565def75ba7d7f106f30d45de9a6de1e2 /lib/unicorn.rb
parent987b9496171b090e62de488ddc7b9a175c4c8d33 (diff)
downloadunicorn-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 'lib/unicorn.rb')
-rw-r--r--lib/unicorn.rb3
1 files changed, 0 insertions, 3 deletions
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