Weird freeze in code, seemingly stalling on drizzle query

My function runs a few queries to the database, but they don't seem to basically ever finish. I don't know what it's caused by, i have tried fully resetting the database and creating only the user/database and running the migrations and that didn't help. The function is run lots of times concurrently, so there's probably around a 1000 queries being ran at the same time. I know it's not ideal for performance, and i am planning to fix it soon, but i don't think it should be causing issues.
No description
1 Reply
kubus3d ago
Hmm this seems to be fixed by ussing postgres-js instead of node-postgres