diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-06-27 15:58:45 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-06-29 04:04:27 -0700 |
commit | 14ce889cc12628405b0f6a1842b7e1ad09ca4b7b (patch) | |
tree | 2188c1bdb823209bd6bfaeeda249af74f99b7920 /lib/unicorn.rb | |
parent | 665717d9d339748447e26d3eb0e34c9f6c64ce73 (diff) | |
download | unicorn-14ce889cc12628405b0f6a1842b7e1ad09ca4b7b.tar.gz |
The complexity of making the object persistent isn't worth the potential performance gain here.
Diffstat (limited to 'lib/unicorn.rb')
-rw-r--r-- | lib/unicorn.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unicorn.rb b/lib/unicorn.rb index 13da564..343f762 100644 --- a/lib/unicorn.rb +++ b/lib/unicorn.rb @@ -1,4 +1,5 @@ require 'fcntl' +require 'tempfile' require 'unicorn/socket_helper' autoload :Rack, 'rack' @@ -471,7 +472,6 @@ module Unicorn worker.tempfile.fcntl(Fcntl::F_SETFD, Fcntl::FD_CLOEXEC) @after_fork.call(self, worker) # can drop perms @timeout /= 2.0 # halve it for select() - HttpRequest::TEE.setup build_app! unless @preload_app end |