From 3f37066771e5eb1a3310cb08baf69705dbd44e68 Mon Sep 17 00:00:00 2001 From: Bryan Goldstein Date: Thu, 5 Sep 2019 23:50:57 -0400 Subject: [PATCH] Update client.js --- redis/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redis/client.js b/redis/client.js index d50f2ce8..55e5a4d3 100644 --- a/redis/client.js +++ b/redis/client.js @@ -10,7 +10,7 @@ redisClient.on("error", function(err) { redisClient.set("string key", "string val", redis.print); redisClient.hset("hash key", "hashtest 1", "some value", redis.print); redisClient.hset(["hash key", "hashtest 2", "some other value"], redis.print); -Array.from({length: 10000}).forEach(function() { +Array.from({length: 10000}).forEach(function(i) { redisClient.set("key: " + i, "val: " + i, redis.print); }); redisClient.hkeys("hash key", function (err, replies) {