Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Redis syntax error in handbook #39

Closed
priscillahuang opened this Issue · 4 comments

3 participants

@priscillahuang

The section on databases (https://github.com/nodejitsu/handbook/#databases) gives the redis client code as

var client = redis.createClient('subdomain.redistogo.com, 5309);

but according to node_redis docu (https://github.com/mranney/node_redis/#rediscreateclientport-host-options) the correct syntax should be redis.createClient(port, host, options), ie.

var client = redis.createClient(5309, 'subdomain.redistogo.com');

Likely a minor typo on the author's part, hope this helps other node_redis newbies.

@mmalecki

@jesusabdullah Assigning to you

@jfhbrook jfhbrook was assigned
@jfhbrook jfhbrook referenced this issue from a commit
@jfhbrook jfhbrook [fix] gh #39 c92cdf8
@jfhbrook

Should be fixed. This copy error may exist in jitsu as well, if that PR got merged.

I'll try to look later today.

@jfhbrook jfhbrook closed this
@priscillahuang

no prob, glad to be of help! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.