Support for redis expiration
This commit is contained in:
parent
0f2075fcda
commit
d0e3e4cd02
5 changed files with 43 additions and 15 deletions
|
@ -4,6 +4,8 @@ var winston = require('winston');
|
|||
var hashlib = require('hashlib');
|
||||
|
||||
// For storing in files
|
||||
// options[type] = file
|
||||
// options[path] - Where to store
|
||||
|
||||
var FileDocumentStore = function(options) {
|
||||
this.basePath = options.path || './data';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue