connect-mongostore
connect-mongostore copied to clipboard
Mongostore .set update fails with RangeError: Maximum call stack size exceeded for replica set
I have configured MongoStore to connect to a replica set, the connection is successful and I can see session being added in the sessions collection. But when I try to modify the session object, the update fails and the session does not modify. The collection.update in the set gives RangeError: Maximum call stack size exceeded error.
Am I configuring it wrong?
PS: It is express 3.x and mongoose environment.
Can you provide a gist that replicates the issue?