twitter/kestrel-client — pull request #6 by eric (2011-10-22 05:44:50+00:00)
Title: Fix transactional client

These changes ensure the transactional client doesn't trip the logic to switch to the next server.

I found that without these the client was switching servers after every request due to:

* The `nil` response check in `Kestrel::Client#get()` was triggered on any `/close` command
* The way `Kestrel::Client::Transactional` was calling the `/close` command was by adding it to the name of the queue instead of as an option, which caused `Kestrel::Client#shuffle_if_necessary!()` to trigger a shuffle
* The `Kestrel::Client::Transactional` client would trigger a shuffle every time it checked the error queue