zamachnoi
DTDrizzle Team
•Created by zamachnoi on 12/13/2023 in #help
How can I close connections after a query is done
When Hot-Reloading I get a bunch of extra connections, and eventually I run out of connections. This is on dev btw
This may not be cause by hot reload, i am unsure
when running
SELECT * FROM pg_stat_activity;
in Supabase
I see a bunch of connections that are running the same queries all from postgres.js even after the api call is done. The connections are then stuck on idle
5 replies