Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DB is not reselected if the redis client disconnects temporarily #28

Merged
merged 1 commit into from Aug 4, 2011

Conversation

cwu
Copy link
Contributor

@cwu cwu commented Aug 4, 2011

I have been getting session objects in my db 0 after setting RedisStore with a different db. (and users losing session data that was in my session db).

This occurs if the client being used by RedisStore disconnects and then reconnects again. When its reconnected it doesn't reselect the proper db (by the nature of the node_redis client).

Related to node_redis issue #86.

I've added the work around noted in issue #86 node_redis.

@tj
Copy link
Owner

tj commented Aug 4, 2011

yikes, that's a pretty bad issue

tj added a commit that referenced this pull request Aug 4, 2011
DB is not reselected if the redis client disconnects temporarily [cwu]
@tj tj merged commit 7a1b0b2 into tj:master Aug 4, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants