P
Prisma•6mo ago
zerokelvin

[ACCELERATE] Timed out fetching a new connection from the connection pool

I'm using Prisma Accelerate with the @prisma/client/edge client and I'm getting the following error:
10:48:02 AM [vite] Internal server error:
Invalid `prisma.facility.count()` 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: 10)
10:48:02 AM [vite] Internal server error:
Invalid `prisma.facility.count()` 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: 10)
In following the "more info" link, it specifies how to resolve this issue for non-Accelerate connection strings, but following this doesn't work for my Accelerate connection string. I tried adding just about every combination of -pooler, connection_limit=100, pgbouncer=true but none of them work (and I'm still getting the same connection limit number in the error). How do I resolve this? Unfortunately I'll probably need to remove Prisma accelerate if I'm unable to resolve this soon
1 Reply
Nurul
Nurul•6mo ago
Hey 👋 Apologies for the late reply, this conversation slipped through the cracks. Which database are you using? Did you add the connection_limit to the Accelerate connection string (starting with prisma://)?
Want results from more Discord servers?
Add your server