progrium/pydoozer — pull request #8 by beaufour (2012-05-22 20:51:55+00:00)
Title: Improve reconnects

This patch improves reconnect handling:

* allow setting timeouts on connections
* randomize connect host order
* don't reconnect to host that just failed
* actually make reconnect not hang :)