Prisma - Timed out fetching a new connection from the connection pool
Hi there,
Sometimes, even with a very small site (nextjs, hosted on vercel), I ran into this issue:
PrismaClientKnownRequestError: 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: 5)
Unfortunately I dont understand the suggested connection pool tuning. Any specific recommendations regarding Vercel Hosting?
I have around 20 functions that use a prisma instance, imported from one file. What amount of concurrent useres would you expect to be fine? (Without prisma data proxy)
Prisma
Connection pool
Prisma's query engine creates a connection pool to store and manage database connections.
0 Replies