goodeggs/mongoose-connection-manager — pull request #4 by sherrman (2014-03-05 00:36:53+00:00)
Title: Handle multiple calls to connect().

If a mongo connection is already open, and we try and create another one, previously we would just wait for a callback that never returned. Now we just return right away.

(Turns out in our Lentil & Kale specs, we do this when we start a server and also try to access the db from the specs themselves.)