Hi everyone, Is there a way to reset the PrismaCli...
# orm-help
h
Hi everyone, Is there a way to reset the PrismaClient when the following error occurs?
Copy code
"code":"P2024","clientVersion":"3.6.0","meta":{"connection_limit":5,"timeout":10}
Because currently the client does not recover from this kind of error and I need to restart the whole server manually. Would be a huge win already if I could simply catch the error and “restart/reset” only the prismaClient. Thanks in advance
👀 1
n
Hey Henri 👋 improving the recovery of Prisma Client when this error happens is actually already on our. radar and we’re actively working on this! Would you mind commenting on this GitHub issue with some more details about your specific scenario so that we can include it in our efforts?
h
Thanks for the reply. I already commented the issue. Hope you are lucky to find the root cause fast.