Skip to content

Commit

Permalink
max pool size
Browse files Browse the repository at this point in the history
  • Loading branch information
ichub committed Nov 12, 2024
1 parent 1304398 commit e526e74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/passport-server/src/database/postgresConfiguration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function getDatabaseConfiguration(): PoolOptionsExplicit & SslSettings {
if (isNaN(poolSize)) {
poolSize = 32;
}
poolSize = Math.min(Math.max(poolSize, 32), 70);
poolSize = Math.min(Math.max(poolSize, 32), 500);
}

// defaults here: https://github.com/postgres-pool/postgres-pool/blob/9d623823dc365b5edea3303cab6ae519bfaa94f7/src/index.ts#L264C10-L290
Expand Down

0 comments on commit e526e74

Please sign in to comment.