jeffutter/dokku-mongodb-plugin — pull request #19 by farmetha (2014-01-27 02:18:08+00:00)
Title: Added looping on install, giving mongod time to start.

During the install phase, if mongod hadn't completed startup, the call to add the admin user would fail and prevent the user from executing commands. This fix will loop for a maximum of 200 seconds trying to connect and create the admin user. Fixes #18.