1
0
Fork 0
mirror of https://github.com/seejohnrun/haste-server.git synced 2024-11-25 05:51:22 +00:00
This commit is contained in:
John Crepezzi 2012-09-27 11:47:23 -04:00
parent 4efc5d47d9
commit 93a83a35da

View file

@ -11,6 +11,7 @@ var winston = require('winston');
var RedisDocumentStore = function(options, client) {
this.expire = options.expire;
if (client) {
winston.info('using predefined redis client');
RedisDocumentStore.client = client;
} else if (!RedisDocumentStore.client) {
RedisDocumentStore.connect(options);