trap death signals in the worker sooner
commit406b8b0e2ed6e5be34d8ec3cd4b16048233c2856
authorEric Wong <normalperson@yhbt.net>
Tue, 2 Aug 2011 23:52:14 +0000 (2 23:52 +0000)
committerEric Wong <normalperson@yhbt.net>
Tue, 2 Aug 2011 23:52:14 +0000 (2 23:52 +0000)
tree809b7ee89cc4ee53cd94093962c3ef7a40fe37ae
parent6d56d7ab891d2cb6127b4cba428a0f7c13b9d2ce
trap death signals in the worker sooner

This helps close a race condition preventing shutdown if
loading the application (preload_app=false) takes a long
time and the user decides to kil workers instead.
lib/unicorn/http_server.rb