Created
October 7, 2022 15:03
-
-
Save kevcodez/824cb993da3383f52117110ca3e1ceea to your computer and use it in GitHub Desktop.
medium_mongodb_performance_pooling
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const client = await MongoClient.connect('mongodb-url', { | |
minPoolSize: 50, | |
maxPoolSize: 250, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment