em-redis icon indicating copy to clipboard operation
em-redis copied to clipboard

Reconnecting patch

Open julien51 opened this issue 14 years ago • 1 comments

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!

julien51 avatar Aug 14 '10 09:08 julien51

I implemented something very similar #7

portertech avatar Jan 07 '13 17:01 portertech