Prisma Client and Serverless Functions: Connection Pool Sizing
Prisma Client defaults to a connection pool configuration optimized for long-running server processes. In ephemeral serverless environments, where functions scale horizontally and terminate quickly, this default behavior can lead to rapid database connection exhaustion. While the connection_limit parameter in the datasource URL allows for manual tuning, the