sensu/sensu — pull request #656 by yacn (2013-11-04 17:49:18+00:00)
Title: [rabbitmq] Updates RabbitMQ#connect to allow configurable EM timeout

Currently, with the unconfigurable 10 second timeout, it's become an annoyance where several nodes will timeout while attempting to connect to RabbitMQ, seemingly due to random network latency in EC2. These nodes then stop their sensu-client service and leave a number of events hanging around, causing our sensu-server's load to spike when running all the event handlers, causing another alert, and ultimately requiring a manual `knife ssh 'name: ...' 'sudo service sensu-client restart'` to resolve the errors.

This adds an option to allow users to configure their own timeout to hopefully alleviate this issue.