cloudfoundry/vcap — pull request #153 by yssk22r (2011-12-19 11:46:31+00:00)
Title: HealthManager should exit on detecting an error on eventmachine.

For example, if database connection failed due to the failure on the database server,
HM just logs:

ERROR -- ActiveRecord::StatementInvalid("PGError: ...

and no recovery actions are taken so that we happen to fall into the infinite loop of errors,
after the database server is recovered.
(In this case, we need to repair HM by rebooting it's process manually....)

I added 'exit!' to reduce this manual operation.