summary refs log tree commit homepage
path: root/lib/unicorn/http_request.rb
diff options
authorEric Wong <>2017-02-28 23:00:25 +0000
committerEric Wong <>2017-03-01 00:24:04 +0000
commit73e1ce827faad59bfcaff0bc758c8255a5e4f747 (patch)
tree24cc4a05c15ec6860db1f04df73eb5af06024c88 /lib/unicorn/http_request.rb
parentc8f06be298d667ba85573668ee916680a258c2c7 (diff)
Killing the master process may lead to the worker dying on its
own (as designed); before kill(1) has had an opportunity to send
the second kill(2) syscall on the worker process.

Killing the worker before the master might also lead to a
needless respawn, so merely kill the master and let the worker
follow it in death.

This race condition occasionally caused test failures on slow,
uniprocessor hardware.
Diffstat (limited to 'lib/unicorn/http_request.rb')
0 files changed, 0 insertions, 0 deletions