Allow disabling workaround for since-fixed MongoDB bug (#5617)

* Allow disabling workaround for fixed MongoDB bug

* skipMongoDBServer13732Workaround description fix

* flip test boolean

* Remove CLI flag, use databaseVersion & engine

* Revert "Remove CLI flag, use databaseVersion & engine"

This reverts commit 042d1ba19f636fe0da06074168c6fd5db37ea048.

* clean up
This commit is contained in:
Jack Wearden
2019-06-19 23:30:08 +01:00
committed by Diamond Lewis
parent fcdf2d7947
commit 559096f1c2
9 changed files with 203 additions and 98 deletions

View File

@@ -34,7 +34,8 @@ export class Config {
);
config.database = new DatabaseController(
cacheInfo.databaseController.adapter,
schemaCache
schemaCache,
cacheInfo.skipMongoDBServer13732Workaround
);
} else {
config[key] = cacheInfo[key];