You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-10 11:43:01 +03:00
Update example to use new pre-connection queue.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
var redis = require("redis"),
|
||||
client = redis.createClient();
|
||||
|
||||
client.on("connect", function () {
|
||||
client.set("string key", "string val", redis.print);
|
||||
client.hset("hash key", "hashtest 1", "some value", redis.print);
|
||||
client.hset(["hash key", "hashtest 2", "some other value"], redis.print);
|
||||
@@ -12,5 +11,3 @@ client.on("connect", function () {
|
||||
});
|
||||
client.end();
|
||||
});
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user