hardcoding connect-redis version

v1.18.x
Julian Lam 11 years ago
parent 4f7810090a
commit 5782a382be

@ -203,16 +203,14 @@ function setupDatabase(server_conf, next) {
var npm = require('npm'), var npm = require('npm'),
packages = []; packages = [];
npm.load({ npm.load({}, function(err) {
loglevel: 'silly'
}, function(err) {
if (err) { if (err) {
next(err); next(err);
} }
switch(server_conf.database) { switch(server_conf.database) {
case 'redis': case 'redis':
packages = packages.concat(['redis', 'hiredis', 'connect-redis']); packages = packages.concat(['redis', 'connect-redis@~1.4']);
break; break;
case 'mongo': case 'mongo':

Loading…
Cancel
Save