Permalink
Browse files

Fixed session reaper

  • Loading branch information...
1 parent f5da81e commit febf44396097b9fd0a26ba844f268b7dc59992a1 @tj tj committed Mar 19, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/express/plugins/session.js
@@ -190,7 +190,7 @@ exports.Session = Plugin.extend({
*/
startReaper: function() {
- setTimeout(function(self) {
+ setInterval(function(self) {
self.store.reap(self.lifetime || (1).day)
}, this.reapInterval || this.reapEvery || (1).hour, this)
}

0 comments on commit febf443

Please sign in to comment.