memorystore
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -264,7 +264,7 @@ /*! | ||
var ms = Ms || this.options.checkPeriod | ||
if (ms && Number.isInteger(ms)) { | ||
if (ms && typeof ms === 'number') { | ||
this._checkInterval = setInterval(function () { | ||
debug('Pruning old entries') | ||
prune(self.store) // iterates over the entire cache proactively pruning old entries | ||
}, ms) | ||
}, Math.floor(ms)) | ||
} | ||
@@ -271,0 +271,0 @@ } |
{ | ||
"name": "memorystore", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "express-session full featured MemoryStore layer without leaks!", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
20604