Sha256: d6a0203522d7f9d4b132adbd899fac2eabdccd5bf6630fe731497a790a1c65f9

Contents?: true

Size: 633 Bytes

Versions: 33

Compression:

Stored size: 633 Bytes

Contents

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);

Version data entries

33 entries across 33 versions & 4 rubygems

Version Path
hooch-0.4.2 jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/unix_socket.js
hooch-0.4.1 jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/unix_socket.js
hooch-0.4.0 jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/unix_socket.js
hooch-0.3.0 jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/unix_socket.js
hooch-0.2.1 jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/unix_socket.js
hooch-0.2.0 jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/unix_socket.js
hooch-0.1.0 jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/unix_socket.js
hooch-0.0.8 jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/unix_socket.js
hooch-0.0.7 jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/unix_socket.js
hooch-0.0.6 jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/unix_socket.js
entangled-0.0.16 spec/dummy/public/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/unix_socket.js
entangled-0.0.15 spec/dummy/public/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/unix_socket.js
entangled-0.0.14 spec/dummy/public/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/unix_socket.js
entangled-0.0.13 spec/dummy/public/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/unix_socket.js
entangled-0.0.12 spec/dummy/public/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/unix_socket.js
entangled-0.0.11 spec/dummy/public/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/unix_socket.js
entangled-0.0.10 spec/dummy/public/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/unix_socket.js
express_translate-1.0.13 node_modules/redis/examples/unix_socket.js
express_translate-1.0.12 node_modules/redis/examples/unix_socket.js
express_translate-1.0.11 node_modules/redis/examples/unix_socket.js