Session middleware passes request to next middleware immediately if the session store is not ready #653

Merged
merged 2 commits into from Sep 3, 2012

Projects

None yet

2 participants

@louischatriot
Contributor

Related to PR #54 of connect-redis, here is how the session middleware can use the events emitted by RedisStore to avoid, when Redis is down, trying to use a store that cannot work - thus generating very long (~20s) response times.

@tj tj merged commit fbe84c3 into senchalabs:master Sep 3, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment