Increase mongo connection timeout to reduce self-test mongo errors.

Certain self-test's like "modules - test app" are encountering
mongo connection timeout errors on some runs. Increasing the
connection timeout helps address these errors.
This commit is contained in:
Hugh Willson
2017-08-04 08:50:55 -04:00
parent 2ebd647e1a
commit 522d86dc4e

View File

@@ -593,7 +593,7 @@ var launchMongo = function (options) {
'meteor',
new mongoNpmModule.Server('127.0.0.1', options.port, {
poolSize: 1,
socketOptions: {connectTimeoutMS: 30000},
socketOptions: {connectTimeoutMS: 60000},
}),
{safe: true});