R
Railway

✋|help

Prisma timeout

Sschmell_mafeet8/20/2023
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?
Sschmell_mafeet8/20/2023
97e88910-4a3c-48f5-a692-b9f2291f4b3e
Bbrody1928/20/2023
wouldn't that be done as a prisma setting?
look into the prisma docs
Sschmell_mafeet8/21/2023
No its done by adding ?connection_limit=5&pool_timeout=2 to the connection string
Bbrody1928/21/2023
okay then do that lol
Sschmell_mafeet8/21/2023
i can't edit the DATABASE_URL environment variable
Bbrody1928/21/2023
why cant you?
Sschmell_mafeet8/21/2023
i don't know. there is no edit button
let me look at it again
Bbrody1928/21/2023
Bbrody1928/21/2023
DATABASE_URL=${{Postgres.DATABASE_URL}}?connection_limit=5&pool_timeout=2
Sschmell_mafeet8/21/2023
ohh. ok. its not in the postgres page.
Awsome i will try it out

Looking for more? Join the community!

Recommended Posts
I want to run AirbyteI would like to use an ETL and I heard that Airbyte is good so I'm trying to set it up as a service NestJS application doesn't startHi, I'm trying to deploy a NestJS app but it gets stuck on a loop trying to start the server. I thiSQLite DatabaseIm trying to deplay a discord bot that uses an sqlite database. Ive created a persistent volume for About storageHello I'm newbie here, i just wanted to know how much storage will i have with the hobby plan?, I anode_modulesI'm trying to deploy using my build script. The build script consist in install normally the packageDefault Express template fails to deployHi, I've tried to deploy the ExpressJS template with no modifications, but am getting errors. Thx foQuestions about pricing for my customersHi, I'm planning to open a web agency and use Railway to deploy our customers' websites. Each customRailway IPv4Guys, does Railway "exports" IPv4 to another service allow its usage permission? I'm using a Redis s[PHP] Route all requests to index.phphttps://twitter.com/Shpigford/status/1693092242943025554I can't buy the planWhen I try to subscribe to the $5 plan, it gives me an error message saying "Your card does not suppI have a problem with my express applicationin the application status it says success but it is not displayed on the websitewhat is the reason for this error?npm WARN config production Use `--omit=dev` instead.Subscription already existsI can't enable the developer plan, the system returns the message: "Subscription already exists"FLASK APP failed to deployI used the refernce flask project idk why maybe the build/run command i put in was incorrect?503 error after binding to ipv6I get a 503 error after binding to ipv6 for internal communication between 2 services. attached my How do I link my services internally?Hello, I tried to figure it out on my own, but I have just ended up losing sleep haha. I'm having anBuild fails when pushing a project with docker-compose file.I am trying to link a project from cli and trying to push it to railway. i am using a docker composeQuestionsI have deployed my project. How can I put this project as asleep?my api wont start on railwayi tried remvoing nodemon from my start script and I also tried in my start script using "node index.cant see my domains in settingsI added domains last day and now i cant see and cant see even my generated free domain project id :