em-redis
em-redis copied to clipboard
Reconnecting patch
Hey,
Here is a patch to allow for reconnection : http://gist.github.com/524175
I'm not really sure how to test it except by hand (which I did), by turning the server on and off. Also, the connected? method is useful to avoid stacking up commands. Clients can then decide not to send additional data if the server is not connected.
Let me know if you can integrate it!
I implemented something very similar #7