Xanacas
TTCTheo's Typesafe Cult
•Created by Xanacas on 1/4/2024 in #questions
Typescript bug or am I stupid?
4 replies
TTCTheo's Typesafe Cult
•Created by Xanacas on 11/5/2023 in #questions
How to get rid of this unnecessary code while preventing eslint from complaining.
6 replies
TTCTheo's Typesafe Cult
•Created by Xanacas on 10/5/2022 in #questions
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)
1 replies