cleanup master_sleep loop
commit364d2669e9f718813b0883b0d9f2428303af1dcd
authorEric Wong <normalperson@yhbt.net>
Tue, 8 Jun 2010 05:11:16 +0000 (8 05:11 +0000)
committerEric Wong <normalperson@yhbt.net>
Tue, 8 Jun 2010 05:11:16 +0000 (8 05:11 +0000)
tree28bdadc2699c6086cf510ba0d523c6cd0db9427a
parente29ed24c56e7bc15b5f6a26cbfc40877b2fd5116
cleanup master_sleep loop

No need for extra checks when we're just doing read_nonblock.
We'll also avoid reallocating a 16K buffer every time we sleep,
we can just reuse the buffer the workers normally use to process
request.
lib/unicorn.rb