digital-science/baton — pull request #8 by carvil (2012-09-20 13:43:15+00:00)
Title: Fix tcp connection failures

This pull request tries to fix an issue causing the baton instances to lose connection to the AMQP instances. When this happens the baton process should reconnect to another AMQP server, however it appears that the connection never fully drops and stays in an ESTABLISHED state.

I've added handlers for `on_tcp_connection_failure` and `on_connection_interruption` in order to see if the issues goes away.