Error on mutation `connection timeout error prisma.uRL.update()`
I'm building a url-shortner it just worked correctly until i added a redirect count trpc mutation before redirecting to the original url, it is giving connection timeout error on prisma.uRL.update() , idk why this is happening
please help
pages/[code].tsx
i also tried using trpc number update increment but it was giving the same error
it redirects after a couple hundred mutations
i'm using sqlite
as the database for now
my trpc mutation
2 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
here's the schema
and the uRL isn't a typo