Set min mongodb to 3.6 in prep for parse-server 4.0 (#6445)

* Set min mongodb to 3.6 in prep for parse-server 4.0

fixes: 6444

* don't use anonymous functions when we can just
pass the function.

Also remove the boolean argument in tests that no longer exists.

* generate the correct lock file.  ooops.
This commit is contained in:
Arthur Cinader
2020-02-27 10:56:14 -08:00
committed by GitHub
parent 9d7da58129
commit 5c7918980c
10 changed files with 60 additions and 207 deletions

View File

@@ -171,7 +171,6 @@ export function getDatabaseController(
const {
databaseURI,
databaseOptions,
skipMongoDBServer13732Workaround,
collectionPrefix,
schemaCacheTTL,
enableSingleSchemaCache,
@@ -195,8 +194,7 @@ export function getDatabaseController(
}
return new DatabaseController(
databaseAdapter,
new SchemaCache(cacheController, schemaCacheTTL, enableSingleSchemaCache),
skipMongoDBServer13732Workaround
new SchemaCache(cacheController, schemaCacheTTL, enableSingleSchemaCache)
);
}