Sebosss
PPrisma
•Created by Sebosss on 2/11/2025 in #help-and-questions
Timed out fetching a new connection from the connection pool
We're using prisma on vercel, to connect to supabase with the pgbouncer.
We set the connection limit to3, timout to 60sec, but we still get this error when the traffic goes up.
Since its in a serverless environment, multiple function invocation can happen at the same time, and it appears Vercel somehow stops the functions (or freezes them ?) at the end of each request.
I've tested many approaches to solve this issue, including large number of pool connections, tbut nothing helps. And we're paying a supabase medium instance, I"ve increased the number of connections etc..
Help ?
15 replies