Updated the maxPoolSize

This commit is contained in:
Tiago Ribeiro
2025-01-31 12:26:43 +00:00
parent 205449e1ae
commit b9aec7261f

View File

@@ -5,7 +5,9 @@ if (!process.env.MONGODB_URI) {
} }
const uri = process.env.MONGODB_URI || ""; const uri = process.env.MONGODB_URI || "";
const options = {}; const options = {
maxPoolSize: 10,
};
let client: MongoClient; let client: MongoClient;