PrismaP
Prisma2y ago
7 replies
daniel

Connection Pool Timeout Issue Despite Custom Limit

I'm intermittently encountering a "Timed out fetching a new connection from the connection pool" error, even though I’ve set a custom connection limit of 70:

Invalid prisma.entity.findFirstOrThrow() invocation:
Timed out fetching a new connection from the connection pool. More info: http://pris.ly/d/connection-pool (Current connection pool timeout: 10, connection limit: 70)

Could you help me understand why this is happening and if there's something I might be doing wrong?

Thanks!
Prisma ORM's query engine creates a connection pool to store and manage database connections.
Connection pool | Prisma Documentation
Was this page helpful?