FATAL: remaining connection slots are reserved for non-replication superuser connections

We started seeing this error sometimes over the last few days...

We are mainly using @supabase/supabase-js in node. We are runing ~10-15 queries per second there. (The error came from here)
We also connect to the connection pooler for an internal monitor (low traffic, a handful of < 1s queries being run every 10 minutes)

Are there issues with combining these connection methods? Any ideas what could be causing the error?
Was this page helpful?