Simplify code for sleeping/waking up the master
commit9a59450a8f8cb415fa11ddbf5bf375c9cb7829d3
authorEric Wong <normalperson@yhbt.net>
Sat, 21 Mar 2009 20:31:55 +0000 (21 13:31 -0700)
committerEric Wong <normalperson@yhbt.net>
Sat, 21 Mar 2009 20:53:24 +0000 (21 13:53 -0700)
treed4ce037661d8ebabebb4cce2b4d711b74fdfbbd5
parent46681f6ffd71b0902801f728f8911b02f3f09e1e
Simplify code for sleeping/waking up the master

Only sleep if our signal queue is empty.

Remove redundant exception handling and go back to just
consuming the entire pipe since that's more efficient if we're
slammed with signals for whatever reason.
lib/unicorn.rb