Skip to content
Myr

Fixed session reaper

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by visionmedia · committed by visionmedia · parent d893009 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:lib/express/plugins/session.js+2 added-2 removed
166 unmodified lines
167 * @api private168 */169 170 startReaper: function() {171 setInterval(function(){172 this.store.reap(this.lifetime || (1).day)171 setInterval(function(self){172 self.store.reap(self.lifetime || (1).day)173 }, this.reapInterval || this.reapEvery || (1).hour, this)174 }175 },176
25 unmodified lines