Skip to content

Commit

Permalink
poolsize 2 prisma
Browse files Browse the repository at this point in the history
  • Loading branch information
lroal authored Jul 5, 2024
1 parent 87ec732 commit ee38947
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/prisma/benchmark-pg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const ITERATIONS = Number.parseInt(process.env.ITERATIONS);
const prisma = new PrismaClient({
datasources: {
db: {
url: `${process.env.POSTGRES_URL}?connection_limit=10`,
url: `${process.env.POSTGRES_URL}?connection_limit=2`,
},
},
log: [
Expand Down Expand Up @@ -57,4 +57,4 @@ async function getRowsWithRelations() {
await Promise.all(promises);
console.timeEnd('prisma');

}
}

0 comments on commit ee38947

Please sign in to comment.