feat: Add support for MongoDB databaseOptions keys minPoolSize, connectTimeoutMS, socketTimeoutMS (#9522)

This commit is contained in:
Colin Ulin
2025-01-27 20:21:40 -05:00
committed by GitHub
parent 3b20a6f039
commit 91618fe738
4 changed files with 30 additions and 0 deletions

View File

@@ -81,6 +81,9 @@ describe('Config Keys', () => {
maxTimeMS: 1000,
maxStalenessSeconds: 10,
maxPoolSize: 10,
minPoolSize: 5,
connectTimeoutMS: 5000,
socketTimeoutMS: 5000,
},
})).toBeResolved();
expect(loggerErrorSpy.calls.all().reduce((s, call) => s += call.args[0], '')).not.toMatch(invalidKeyErrorMessage);