1
0
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:
John Crepezzi
2011-11-21 22:03:50 -05:00
parent 0f2075fcda
commit d0e3e4cd02
5 changed files with 43 additions and 15 deletions

View File

@@ -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';