This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var ConnectionPool = function (connection) { | |
this.connection = connection; | |
this.queue = []; | |
this.counter = 0; | |
this.running = false; | |
}; | |
ConnectionPool.prototype.start = function () { | |
var self = this; | |
if (!this.running) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var jsdom = require('jsdom'), | |
request = require('request'), | |
url = require('url'), | |
npm = require("npm"), | |
redis = require("redis"); | |
var client = redis.createClient(); | |
var configObject = { | |
"dev": false, |
NewerOlder