mirror of
https://github.com/seejohnrun/haste-server.git
synced 2025-12-19 23:51:28 +00:00
Support for redis expiration
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user