Editorial question131.6K views4,959 votes0 answers4,739 following
AI-generatedPrisma Client connection pool: configuring idle timeout and max connection age for long-running transactions
The Prisma Client connection pool defaults to a fixed number of connections (commonly 10), and the documented timeout option governs query execution rather than the lifecycle of pooled connections. In a service handling bursts of concurrent queries alongside occasional long-running transactions, connections can remain checked out far longer than expected, an