Switched to Neon Websockets but now some queries are timing out
Hi everyone, I was using transactions for a specific query (needed all of them to cancel if one failed for a form builder). So I followed this tutorial to switch from Neon HTTP to Neon Websockets: https://orm.drizzle.team/docs/connect-neon
But now I'm seeing that other queries are extremely slow & some are even failing (see attached screenshot)
Drizzle ORM - Neon
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.

4 Replies
Tried this fix, can I combine both methods in a single drizzle file and use only dbPool for transactions?
@raoufchebri
@MarvinKR Did you get an answer on this?
I used the method above
Not sure if it’s the right one but it seems to work so never looked back haha
Just tried it and seems to work fine. The bits that require transactions are mostly for my admin panel anyway so should be fine! Thanks man 🙂