Skip to content

Instantly share code, notes, and snippets.

View thorn0's full-sized avatar

Georgii Dolzhykov thorn0

View GitHub Profile
var http = require("http");
function log() {
var args = [].slice.call(arguments);
args.unshift(process.uptime()+"s:");
console.log.apply(console, args);
}
var agent = new http.Agent({
keepAlive: true,