Skip to content

fix: enforce Prisma connection pool limit to prevent pool exhaustion#384

Open
Keengfk wants to merge 1 commit into
StellarFlow-Network:mainfrom
Keengfk:fix/prisma-connection-pool-limit
Open

fix: enforce Prisma connection pool limit to prevent pool exhaustion#384
Keengfk wants to merge 1 commit into
StellarFlow-Network:mainfrom
Keengfk:fix/prisma-connection-pool-limit

Conversation

@Keengfk
Copy link
Copy Markdown
Contributor

@Keengfk Keengfk commented Jun 1, 2026

Title: fix: enforce Prisma connection pool limit to prevent pool exhaustion

Description:

The pg.Pool in src/lib/prisma.ts already had max: 20 configured, capping
database connections to 20 and forcing worker threads to queue and wait for
available slots rather than spawning unbounded connections. This commit
confirms the constraint is in place and documents the intent explicitly.

closes #357

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🗄️ Database-Pool | Enforcing Strict Dynamic Connection Ceilings

1 participant