1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-09 00:22:08 +03:00

fix the example in createClient

This commit is contained in:
Jack Tang
2014-08-07 17:39:04 +08:00
parent 2a768f36b6
commit 5e1cebee5e

View File

@@ -221,7 +221,7 @@ You can force an IPv6 if you set the family to 'IPv6'. See nodejs net or dns mod
```js ```js
var redis = require("redis"), var redis = require("redis"),
client = redis.createClient(null, null, {detect_buffers: true}); client = redis.createClient({detect_buffers: true});
client.set("foo_rand000000000000", "OK"); client.set("foo_rand000000000000", "OK");