I'm currently building an app with: Nextjs, react-query, Prisma, postgres .. I'm currently using DigitalOcean to host the db, things are working well, but after a little development I start to get 500 errors on the server, if I stop and restart the development server things work fine. My assumption is that I'm running out of connections on the db. I did see this video by Daniel with a possible solution:
https://www.youtube.com/watch?v=tsOHw2T1HvI▾
. -- My question though, how can I test that this is actually the problem prior to setting up PgBouncer?