elasticsearch/elasticsearch-ruby — pull request #121 by gregoryp (2014-12-16 15:56:23+00:00)
Title: Curb timeout error

Hello!

We observed that when an elasticsearch node is down, the client doesn't mark it as dead and the Curl::Err::TimeoutError is raised when it tries to connect to it. With the attached pull request, the node gets marked as dead and our custom selector can exclude it and retry with another healthy node.