connect-mongostore icon indicating copy to clipboard operation
connect-mongostore copied to clipboard

Mongostore .set update fails with RangeError: Maximum call stack size exceeded for replica set

Open RiteshMengji opened this issue 9 years ago • 1 comments

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.

RiteshMengji avatar Jul 11 '14 23:07 RiteshMengji

Can you provide a gist that replicates the issue?

diversario avatar Jul 15 '14 00:07 diversario