mongolab / mongoctl

Manage MongoDB servers and replica sets using JSON configurations!
MIT License
178 stars 25 forks source link

Move an unqualified sleep() closer to where it's apparently needed. #45

Closed bitprophet closed 6 years ago

bitprophet commented 6 years ago

According to where it was originally run & comments therein (7e7fbab8781634afed78c004467c9003caf24a2b) this sleep is only necessary for servers that have replicasets, so it should probably live inside the replicaset branch of the code.

Standalone servers, like those used for testing, don't need it.