PrismaP
Prisma7mo ago
8 replies
Dhcdec

Issues with difference between dev and production environment

In the dev environment, I can use the Supabase pooler connection URL with no params at all to make queries with my Prisma client. However using the same connection URL when my code is deployed results in a pooling error upon the code reaching the very first query:

Invalid `prisma.user.findFirst()` invocation:


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: 9)


I have doubts that the issue is resource allocation issue because its failing on the first query and hitting that time limit seems ridiculous.
Was this page helpful?