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 f5da81e · Browse files · 1 file+1 added−1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:lib/express/plugins/session.js+1 added-1 removed
188 unmodified lines
189 * @api private190 */191 192 startReaper: function() {193 setTimeout(function(self) {193 setInterval(function(self) {194 self.store.reap(self.lifetime || (1).day) 195 }, this.reapInterval || this.reapEvery || (1).hour, this)196 }197 },
36 unmodified lines