Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
DB is not reselected if the redis client disconnects temporarily #28
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.