Skip to content

Instantly share code, notes, and snippets.

@kevcodez
Created October 7, 2022 15:03
Show Gist options
  • Save kevcodez/824cb993da3383f52117110ca3e1ceea to your computer and use it in GitHub Desktop.
Save kevcodez/824cb993da3383f52117110ca3e1ceea to your computer and use it in GitHub Desktop.
medium_mongodb_performance_pooling
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