Prisma timeout
I am trying to use a fairly large query with Prisma and get
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)
Is there a way to increase the timeout and maybe the pool size?11 Replies
Project ID:
97e88910-4a3c-48f5-a692-b9f2291f4b3e
97e88910-4a3c-48f5-a692-b9f2291f4b3e
wouldn't that be done as a prisma setting?
look into the prisma docs
No its done by adding
?connection_limit=5&pool_timeout=2
to the connection stringokay then do that lol
i can't edit the DATABASE_URL environment variable
why cant you?
i don't know. there is no edit button
let me look at it again
DATABASE_URL=${{Postgres.DATABASE_URL}}?connection_limit=5&pool_timeout=2
ohh. ok. its not in the postgres page.
Awsome i will try it out