Fix typo that allowed _startMongoAsync to be retried forever.

Thanks to @jamesmillerburgess for catching this!
https://github.com/meteor/meteor/pull/8728#discussion_r128912266
This commit is contained in:
Ben Newman
2017-07-23 11:55:47 -04:00
parent b2ef3be175
commit bf086e76fb

View File

@@ -138,7 +138,7 @@ class Runner {
if (tries > 0) {
self.mongoRunner.stop();
setTimeout(startMongo, 1000);
setTimeout(() => startMongo(tries), 1000);
} else {
self.mongoRunner._fail();
}