diff options
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 a33b1b2..0c3419b 100644 --- a/lib/unicorn.rb +++ b/lib/unicorn.rb @@ -331,7 +331,7 @@ module Unicorn return if @workers.size == @nr_workers (0...@nr_workers).each do |worker_nr| @workers.values.include?(worker_nr) and next - tempfile = Tempfile.new('unicorn_worker') + tempfile = Tempfile.new('') # as short as possible to save dir space tempfile.unlink # don't allow other processes to find or see it tempfile.sync = true worker = Worker.new(worker_nr, tempfile) |