diversario / connect-mongostore

MongoDB session store for Connect/Express.
57 stars 16 forks source link

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

Open RiteshMengji opened 10 years ago

RiteshMengji commented 10 years ago

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.

diversario commented 10 years ago

Can you provide a gist that replicates the issue?