Skip to content

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

Open
allanca wants to merge 3 commits intojedp:masterfrom
studybreak:master
Open

Allow consumer to specify a custom redis host and/or port for the client connection.#3
allanca wants to merge 3 commits intojedp:masterfrom
studybreak:master

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