|
|
@ -40,7 +40,7 @@
|
|
|
|
module.init = function(callback) {
|
|
|
|
module.init = function(callback) {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
redis = require('redis');
|
|
|
|
redis = require('redis');
|
|
|
|
connectRedis = require('connect-redis')({session: session});
|
|
|
|
connectRedis = require('connect-redis')(session);
|
|
|
|
reds = require('reds');
|
|
|
|
reds = require('reds');
|
|
|
|
} catch (err) {
|
|
|
|
} catch (err) {
|
|
|
|
winston.error('Unable to initialize Redis! Is Redis installed? Error :' + err.message);
|
|
|
|
winston.error('Unable to initialize Redis! Is Redis installed? Error :' + err.message);
|
|
|
|