Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

allanca
Copy link

@allanca 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.

@shylesh107
Copy link

+1 for this PR

2 similar comments
@Vineeth-Mohan
Copy link

+1 for this PR

@lijukrks
Copy link

+1 for this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants