Skip to content

Commit

Permalink
Fixed session reaper
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Mar 19, 2010
1 parent f5da81e commit febf443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/express/plugins/session.js
Expand Up @@ -190,7 +190,7 @@ exports.Session = Plugin.extend({
*/ */


startReaper: function() { startReaper: function() {
setTimeout(function(self) { setInterval(function(self) {
self.store.reap(self.lifetime || (1).day) self.store.reap(self.lifetime || (1).day)
}, this.reapInterval || this.reapEvery || (1).hour, this) }, this.reapInterval || this.reapEvery || (1).hour, this)
} }
Expand Down

0 comments on commit febf443

Please sign in to comment.