umami: Too many connections
i am getting too many connections error when when loading the dashboard
i am using aheroku postgresdb which can take up to 20 connections concurrently .
is there a way to overcome this issue
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 23 (3 by maintainers)
@ShubhamVerma1811 The issue is closed but there hasn’t been a new release of prisma yet. Will update as soon as it’s out.
I think this bug is fixed because the issue is closed. Can you now try to fix our bug?
Setting
connection_limit=1is the suggested solution for prisma. Although you will need to restart your database or flush the other existing connections first. Prisma is able to disconnect after a query, but there was a bug that caused it to crash. I will check if it is resolved and if it is, re-implement the disconnect.I filed a bug with the Prisma repo regarding disconnects. You can follow here https://github.com/prisma/prisma/issues/3522
Try the latest release and see if it helps.