Allow consumer to specify a custom redis host and/or port for the client connection. #3

Open
wants to merge 3 commits into
from

Conversation

Projects
None yet
4 participants

allanca commented Jul 21, 2011

Now, an initialization function is returned from the module import that can be used to set the redis host and port.

It doesn't need to be called if redis is setup on localhost. Still defaults to using 127.0.0.1:6379 for backwards compatibility. Catches the error event on the default connect attempt and ignores it.

+1 for this PR

+1 for this PR

+1 for this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment