Browse files

Mention javascript parser for redis

- hiredis doesn't work on nodejitsu, tell people to use the js parser instead
  • Loading branch information...
1 parent 8f9f27a commit 7e0f2f89d5e9663af25c773980c6069d452e1bbf @klaemo klaemo committed Sep 9, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 chapters/
@@ -184,12 +184,15 @@ You can connect to your redis with the `redis-cli` cli client:
or with the `redis` module:
var redis = require('redis');
- var client = redis.createClient(5309, '');
+ var options = { parser: 'javascript' };
+ var client = redis.createClient(5309, '', options);
client.auth('pass', function (err) {
if (err) { throw err; }
// You are now authed with your redis.
+**Note:** You have to explicitly tell `node_redis` to use its javascript parser instead of the one written in C, because the latter
+is causing problems on nodejitsu. Check out the other possible options in the [node redis docs](
## Environment Variable Management

0 comments on commit 7e0f2f8

Please sign in to comment.