mirror of
https://github.com/seejohnrun/haste-server.git
synced 2024-12-25 11:37:00 +00:00
Logging
This commit is contained in:
parent
4efc5d47d9
commit
93a83a35da
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue