about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-04-12 23:09:27 -0700
committerEric Wong <normalperson@yhbt.net>2009-04-12 23:09:27 -0700
commit810ca7d5b0aca3c031af36512e1addf36a4b939a (patch)
tree5ce10bbcefda28a4256a97d4f150cf723b6ef3dc
parent96c73021c7b41d609fb8335d0ef986ed16bd2dc3 (diff)
downloadunicorn-810ca7d5b0aca3c031af36512e1addf36a4b939a.tar.gz
We never write to the file anyways, and fchmod is never buffered
-rw-r--r--lib/unicorn.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/unicorn.rb b/lib/unicorn.rb
index 6313f16..9a87e50 100644
--- a/lib/unicorn.rb
+++ b/lib/unicorn.rb
@@ -392,7 +392,6 @@ module Unicorn
         end
         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)
         @before_fork.call(self, worker.nr)
         pid = fork { worker_loop(worker) }