kr/beanstalk-client-ruby — Issue #10: Graceful handling of a server failure in Beanstalk:Pool
Author: jbaudanza
Created: 2011-11-02 21:50:37+00:00
State: open

Currently, if a beanstalkd dies, the client eagerly tries to reconnect upon the next request. If the server is offline, this will cause unnecessary delays while these connection attempts timeout. In this case it would be preferable to remove the failed server from the pool until an administrator can attend to the matter.

I've implemented something like this in my branch 2fbf670a85081e9d7f74176793f18fdeea715fef

Let me know what you think. If you'd like I can prepare a pull request