Skip to content

Commit

Permalink
feat: set maxPoolSize to 1_000 (#1368)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevbarns authored Jul 19, 2024
1 parent 50a3a3d commit 5984e7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/src/common/utils/mongodbUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export const connectToMongodb = async (uri: string) => {
retryWrites: true,
retryReads: true,
minPoolSize: config.env === "local" ? 0 : 5,
maxPoolSize: 1_000,
})

client.on("connectionPoolReady", () => {
Expand Down

0 comments on commit 5984e7a

Please sign in to comment.