GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Unless I'm missing something obvious, using a password with your redis connection is a bit of a pain right now.
In order to auth, you need to structure your redis queries as so:
;your actual redis commands go here
However, because of pipelining, you'll get back the response from auth (generally "OK") along with your result set.
I've written a macro to deal with this in my project that inserts the auth call and filters out the auth response from the result, but I wonder if this doesn't make more sense in the library. Seems like since connection-map can take a :password argument, you were at least considering this.
I'm happy to submit a patch, but would like some direction as there's a variety of ways to skin this cat: