diff options
Diffstat (limited to 'vnfmarket/src/main/webapp/vnfmarket/node_modules/redis/examples/unix_socket.js')
-rw-r--r-- | vnfmarket/src/main/webapp/vnfmarket/node_modules/redis/examples/unix_socket.js | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/vnfmarket/src/main/webapp/vnfmarket/node_modules/redis/examples/unix_socket.js b/vnfmarket/src/main/webapp/vnfmarket/node_modules/redis/examples/unix_socket.js deleted file mode 100644 index 4a5e0bb0..00000000 --- a/vnfmarket/src/main/webapp/vnfmarket/node_modules/redis/examples/unix_socket.js +++ /dev/null @@ -1,29 +0,0 @@ -var redis = require("redis"), - client = redis.createClient("/tmp/redis.sock"), - profiler = require("v8-profiler"); - -client.on("connect", function () { - console.log("Got Unix socket connection.") -}); - -client.on("error", function (err) { - console.log(err.message); -}); - -client.set("space chars", "space value"); - -setInterval(function () { - client.get("space chars"); -}, 100); - -function done() { - client.info(function (err, reply) { - console.log(reply.toString()); - client.quit(); - }); -} - -setTimeout(function () { - console.log("Taking snapshot."); - var snap = profiler.takeSnapshot(); -}, 5000); |