worker_loop cleanups, var golf, and yak-shaving
commit9206bb5e54a0837e394e8b1c1a96e27ebaf44e77
authorEric Wong <normalperson@yhbt.net>
Wed, 15 Apr 2009 08:57:10 +0000 (15 01:57 -0700)
committerEric Wong <normalperson@yhbt.net>
Wed, 15 Apr 2009 20:39:17 +0000 (15 13:39 -0700)
tree1027314bff5c8717ebd5ad4f6425e32cc1325c6e
parentdc771cd98413788615832d6e1b875253149a6475
worker_loop cleanups, var golf, and yak-shaving

Ensure we always fchmod our tempfile in case of client error to
avoid getting nuked in the next request cycle.  Also, kill off
some unnecessary variables since this method has too many
variables anyways and we can overload the "nr" counter to do
what "accepted" and "reopen_logs" did..
lib/unicorn.rb