kcbanner/connect-mongo — pull request #117 by danmandle (2014-06-05 22:35:04+00:00)
Title: Added support for mongoose mongdb cluster

We use MongoHQ's elastic deployment and when handing mongo-store a mongoose connection with more than one connected server, it threw some errors. This commit/pull request contains a fix. It will check to see if mongoose is connected to multiple servers and just grab the first one.

P.S. Sorry about the removal of the whitespace at the end of each line, Sublime Text automatically does that for me.