NOTHING HELPS - Timed out fetching a new connection from the connection pool. #24170
-
QuestionTimed out fetching a new connection from the connection pool. (...) (Current connection pool timeout: 10, connection limit: 49). Hi, I've been having this issue when fetching and I'm running out of ideas how to tackle the problem. The request shows up as pending for about 15-50 seconds every time I make the request, then it ends up showing the correct data. Here's what I tried so far:
Any other ideas what I could try? Many thanks. How to reproduce (optional)No response Expected behavior (optional)No response Information about Prisma Schema, Client Queries and Environment (optional)I'm using node v18.18.2, prisma is on v5.13.0 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @dominikabieder 👋 Thank you for raising this question. Can you increase the |
Beta Was this translation helpful? Give feedback.
thanks, I tried it but it didn't help.
Turns out I was using a recursive function that made a very high number of requests, which in turn opened many many connections. I had to refactor the request to get rid of the problem.